Brief description of class still missing. More...
#include <DispersionThread.h>
Public Member Functions | |
| virtual ResultsThread * | clone () const |
| DispersionThread (QObject *parent=0) | |
| DispersionThread (const DispersionThread &o) | |
| virtual void | initResultsGraphs (GraphicSheet *sheet) |
| virtual void | initResultsGraphs (const ResultsThread &o) |
| virtual bool | setParameters (int &argc, char **argv) |
| ~DispersionThread () | |
Brief description of class still missing.
Full description of class still missing
| DispersionThread::DispersionThread | ( | QObject * | parent = 0 | ) |
Description of constructor still missing
References TRACE.
Referenced by clone().
: Seismic1DThread(parent) { TRACE; _nRayleigh=1; _nLove=0; _slowness=Mode::Phase; }
| DispersionThread::DispersionThread | ( | const DispersionThread & | o | ) |
Description of constructor still missing
References TRACE.
: Seismic1DThread(o) { TRACE; _nRayleigh=o._nRayleigh; _nLove=o._nLove; _slowness=o._slowness; }
| virtual ResultsThread* DispersionThread::clone | ( | ) | const [inline, virtual] |
| void DispersionThread::initResultsGraphs | ( | GraphicSheet * | sheet | ) | [virtual] |
Reimplemented from CurvesThread.
References CurvesThread::_layer, SciFigs::GraphContentLayer::graph(), QGpCoreTools::tr(), and TRACE.
Referenced by initResultsGraphs().
| virtual void DispersionThread::initResultsGraphs | ( | const ResultsThread & | o | ) | [inline, virtual] |
Reimplemented from CurvesThread.
References initResultsGraphs().
| bool DispersionThread::setParameters | ( | int & | argc, |
| char ** | argv | ||
| ) | [virtual] |
Reimplemented from Seismic1DThread.
References TRACE.
{
TRACE;
int i, j=1;
for(i=1; i<argc; i++) {
QByteArray arg=argv[i];
if(arg[0]=='-') {
if(arg=="-R") {
CoreApplication::checkOptionArg(i, argc, argv);
_nRayleigh=atoi(argv[i]);
} else if(arg=="-L") {
CoreApplication::checkOptionArg(i, argc, argv);
_nLove=atoi(argv[i]);
} else if(arg=="-group") {
_slowness=Mode::Group;
} else {
argv[j++]=argv[i];
}
} else {
argv[j++]=argv[i];
}
}
if(j < argc) {
argv[j]=0;
argc=j;
}
return CurvesThread::setParameters(argc, argv);
}