GeoTessCPPExamples  2.0
Public Member Functions | Private Attributes
geotess::AK135Model Class Reference

#include <AK135Model.h>

Public Member Functions

void getLayerProfile (const double &lat, const double &lon, const int &layer, vector< float > &r, vector< vector< float > > &nodeData)
 
 AK135Model ()
 
 ~AK135Model ()
 

Private Attributes

int nLayers
 
int nRadii [7]
 
float radii [7][50]
 
int nNodes [7]
 
float data [7][50][3]
 

Detailed Description

Definition at line 61 of file AK135Model.h.

Constructor & Destructor Documentation

◆ AK135Model()

geotess::AK135Model::AK135Model ( )
inline

Definition at line 126 of file AK135Model.h.

◆ ~AK135Model()

geotess::AK135Model::~AK135Model ( )
inline

Definition at line 415 of file AK135Model.h.

Member Function Documentation

◆ getLayerProfile()

void geotess::AK135Model::getLayerProfile ( const double &  lat,
const double &  lon,
const int &  layer,
vector< float > &  r,
vector< vector< float > > &  nodeData 
)
inline

Extract from our example earth model (AK135Model) a single profile of radii and data values through a single layer.

Note that the number of radii and number of data nodes are not always the same. Here are the possibilities:
In the crustal layers, there will be two radii and a single data node, indicating that vp, vs and density are constants in the profiles through crustal layers.
In the core and mantle, the number of radii and the number of data nodes will be equal, indicating that these values vary continuously in each layer in the radial direction.

Parameters
latthe latitude of the desired profile in degrees.
lonthe longitude of the desired profile in degrees.
layerthe layer of the model
rwill be populated with a 1D array of radius values that traverse the specified layer at the specified lat, lon position.
nodeDatawill be populated with vp, vs, and density for each node of the profile.

Definition at line 96 of file AK135Model.h.

Field Documentation

◆ data

float geotess::AK135Model::data[7][50][3]
private

Definition at line 69 of file AK135Model.h.

◆ nLayers

int geotess::AK135Model::nLayers
private

Definition at line 65 of file AK135Model.h.

◆ nNodes

int geotess::AK135Model::nNodes[7]
private

Definition at line 68 of file AK135Model.h.

◆ nRadii

int geotess::AK135Model::nRadii[7]
private

Definition at line 66 of file AK135Model.h.

◆ radii

float geotess::AK135Model::radii[7][50]
private

Definition at line 67 of file AK135Model.h.


The documentation for this class was generated from the following file: