38 #ifndef GreatCircle_Xg_H
39 #define GreatCircle_Xg_H
97 const double& latSource,
98 const double& lonSource,
99 const double& depthSource,
100 const double& latReceiver,
101 const double& lonReceiver,
102 const double& depthReceiver);
130 void getZhaoParameters(
double& Vm,
double& Gm,
double& H,
double& C,
double& Cm,
int& udSign);
132 void getPgLgComponents(
double& tTotal,
133 double& tTaup,
double& tHeadwave,
134 double& pTaup,
double& pHeadwave,
135 double& trTaup,
double& trHeadwave);
189 double taupModelRadius;
193 void computeTravelTimeTaup();
195 void computeTravelTimeHeadwave();
199 void toStringTaup(ostringstream&,
const int& verbosity);
201 void toStringHeadwave(ostringstream&,
const int& verbosity);
205 inline void GreatCircle_Xg::getZhaoParameters(
double& Vm_,
double& Gm_,
double& H_,
double& C_,
double& Cm_,
int& udSign_)
215 inline void GreatCircle_Xg::getPgLgComponents(
double& tT,
double& tP,
double& tH,
216 double& pT,
double& pH,
double& trT,
double& trH)
219 tP = (taupResult ? taupResult->ttrT : NA_VALUE);
221 pT = (taupResult ? taupResult->ttrP / taupResult->ttrR : NA_VALUE);
223 trT = (taupResult ? taupResult->ttrR : NA_VALUE);
The GreatCircle_Xg class manages information related to a great circle path between two Locations on ...
string toString(const int &verbosity)
Retrieve a formatted string providing a detailed description of the information managed by this Great...
GreatCircle_Xg(const int &_phase, Grid &_grid, const double &latSource, const double &lonSource, const double &depthSource, const double &latReceiver, const double &lonReceiver, const double &depthReceiver)
Parameterized constructor.
GreatCircle_Xg(const GreatCircle_Xg &other)
Copy constructor.
GreatCircle_Xg & operator=(const GreatCircle_Xg &other)
Equal operator.
~GreatCircle_Xg()
Destructor. Calls GreatCircle destructor, which deletes the source and receiver CrustalProfile object...
The GreatCircle class manages information related to a great circle path between two Locations on the...
A 2 dimensional, horizontal grid of GirdProfile objects.
A public container (struct) that holds the result of a specific ray that satisfied the source distanc...