|
| QueryProfile (Grid &grid, Location &location) |
| Parameterized constructor. More...
|
|
| QueryProfile (const QueryProfile &QueryProfile) |
| Copy constructor. More...
|
|
| ~QueryProfile () |
|
QueryProfile & | operator= (const QueryProfile &other) |
| Equal operator. More...
|
|
bool | operator== (const QueryProfile &other) |
| Equality operator. More...
|
|
bool | operator!= (const QueryProfile &other) |
| Inequality operator. More...
|
|
int | nIntervals () |
| Retrieve the number of intervals associated with this Profile. More...
|
|
void | getData (int *nodeIds, double *coefficients, int &nNeighbors, double *depths, double *pvelocities, double *svelocities, double &pgradient, double &sgradient) |
| Retrieve all the interval depth and velocity information contained in this QueryProfile object. More...
|
|
vector< int > & | getNodeIds () |
|
double * | getDepth () |
| Retrieve the depth of the top of the k'th interval, in km. More...
|
|
double * | getVelocity (const int &waveType) |
| Retrieve the P or S wave velocity of the k'th interval, in km/sec. More...
|
|
double * | getMantleGradient () |
| Retrieve the P or S wave velocity gradient, in 1/sec. More...
|
|
string | toString () |
| Returns a formatted string containing detailed information about this Profile. More...
|
|
| InterpolatedProfile () |
| Default constructor. More...
|
|
| InterpolatedProfile (Grid &grid, Location &location) |
| Parameterized constructor. More...
|
|
| InterpolatedProfile (const InterpolatedProfile &other) |
| Copy constructor. More...
|
|
virtual | ~InterpolatedProfile () |
| Destructor. More...
|
|
InterpolatedProfile & | operator= (const InterpolatedProfile &other) |
| Equal operator. More...
|
|
bool | operator== (const InterpolatedProfile &other) |
| Equality operator. More...
|
|
bool | operator!= (const InterpolatedProfile &other) |
| Inequality operator. More...
|
|
int | getNCoefficients () |
|
vector< GridProfile * > & | getNodes () |
| Retrieve a list of pointers to the GridProfile objects upon which this InterpolatedProfile is dependent. More...
|
|
GridProfile * | getNode (const int &i) |
|
vector< int > & | getNodeIds () |
|
int | getNodeId (const int &i) |
|
vector< double > & | getCoefficients () |
| Retrieve the interpolation coefficients that define the dependency of this InterpolatedProfile on its neighbors. More...
|
|
double | getCoefficient (const int &i) |
|
void | getNodeIds (int *nodeIds, int &size) |
| Retrieve the ID numbers of the GridProfiles that contributed to the interpolated values at this InterpolatedProfile object. More...
|
|
void | getCoefficients (double *coeff, int &size) |
| Retrieve the interpolation coefficients that were applied to the neighboring GridProfiles that contributed to the interpolated values at this InterpolatedProfile object. More...
|
|
void | getWeights (int *nodeIds, double *coeff, int &size) |
|
void | interpRadius (const int &k, double &radius) |
| Calculate a single radius value based on the neighboring GridProfile objects and the interpolation coefficients. More...
|
|
void | interpDepth (const int &k, double &depth) |
| Calculate a single depth value based on the neighboring GridProfile objects and the interpolation coefficients. More...
|
|
void | interpVelocity (const int &type, const int &k, double &velocity) |
| Calculate a single velocity value based on the neighboring GridProfile objects and the interpolation coefficients. More...
|
|
void | interpGradient (const int &type, double &gradient) |
| Calculate a single gradient value based on the neighboring GridProfile objects and the interpolation coefficients. More...
|
|
bool | isActiveProfile () |
| Returns true if all of the neighboring GridProfile objects. More...
|
|
virtual size_t | memSize () |
|
The QueryProfile class represents a Profile based on depth, velocity and gradient values interpolated from values of nearby GridProfile objects. The simplest way to obtain a QueryProfile object is to call Grid::getQueryProfile().