General Purpose Geodetic Library
SgOceanLoad Class Reference

#include <SgOceanLoad.h>

Inheritance diagram for SgOceanLoad:
Sg3dVector

Public Member Functions

 SgOceanLoad (const SgTaskConfig *)
 
 ~SgOceanLoad ()
 
const Sg3dVectorcalcDisplacement (const SgVlbiStationInfo *, const SgMJD &)
 
- Public Member Functions inherited from Sg3dVector
 Sg3dVector ()
 
 Sg3dVector (double v1, double v2, double v3)
 
 Sg3dVector (const Sg3dVector &V)
 
 ~Sg3dVector ()
 
double & operator() (DIRECTION i)
 
double at (DIRECTION i) const
 
double module () const
 
double phi () const
 
double lambda () const
 
Sg3dVectorunify ()
 
Sg3dVector unit () const
 
void clear ()
 
Sg3dVectoroperator= (const Sg3dVector &v)
 
Sg3dVectoroperator+= (const Sg3dVector &v)
 
Sg3dVectoroperator-= (const Sg3dVector &v)
 
Sg3dVectoroperator*= (double d)
 
Sg3dVectoroperator/= (double d)
 
bool operator== (const Sg3dVector &v) const
 
bool operator!= (const Sg3dVector &v) const
 

Static Public Member Functions

static const QString className ()
 

Private Member Functions

void arg_IERS (const SgMJD &)
 

Private Attributes

double angle [11]
 
const SgTaskConfigcfg_
 

Static Private Attributes

static const double speed [11]
 
static const double angfac [4][11]
 
static const SgMJD _1975
 

Additional Inherited Members

- Protected Attributes inherited from Sg3dVector
double vec [3]
 An array of 3 elements, stores elements of a vector. More...
 

Detailed Description

SgOceanLoad – an ocean loading calculator. ====================================================================================================

Definition at line 46 of file SgOceanLoad.h.

Constructor & Destructor Documentation

◆ SgOceanLoad()

SgOceanLoad::SgOceanLoad ( const SgTaskConfig cfg)

A constructor. Creates a default object.

Definition at line 48 of file SgOceanLoad.cpp.

References angle, and cfg_.

◆ ~SgOceanLoad()

SgOceanLoad::~SgOceanLoad ( )

A destructor. Frees allocated memory.

Definition at line 58 of file SgOceanLoad.cpp.

Member Function Documentation

◆ arg_IERS()

void SgOceanLoad::arg_IERS ( const SgMJD t)
private

Definition at line 65 of file SgOceanLoad.cpp.

References _1975, angfac, angle, DEG2RAD, SgMJD::getTime(), and speed.

Referenced by calcDisplacement().

◆ calcDisplacement()

◆ className()

const QString SgOceanLoad::className ( )
static

Returns name of the class (for debug output).

Definition at line 40 of file SgOceanLoad.cpp.

Referenced by calcDisplacement().

Member Data Documentation

◆ _1975

const SgMJD SgOceanLoad::_1975
staticprivate

Definition at line 87 of file SgOceanLoad.h.

Referenced by arg_IERS().

◆ angfac

const double SgOceanLoad::angfac
staticprivate
Initial value:
=
{
{ 2.0, 0.0, 2.0, 2.0, 1.0 , 1.0 ,-1.0 , 1.0 , 0.0, 0.0, 2.0},
{ -2.0, 0.0,-3.0, 0.0, 0.0 ,-2.0 , 0.0 ,-3.0 , 2.0, 1.0, 0.0},
{ 0.0, 0.0, 1.0, 0.0, 0.0 , 0.0 , 0.0 , 1.0 , 0.0,-1.0, 0.0},
{ 0.0, 0.0, 0.0, 0.0, 0.25,-0.25,-0.25,-0.25, 0.0, 0.0, 0.0}
}

Definition at line 86 of file SgOceanLoad.h.

Referenced by arg_IERS().

◆ angle

double SgOceanLoad::angle[11]
private

Definition at line 88 of file SgOceanLoad.h.

Referenced by SgOceanLoad(), arg_IERS(), and calcDisplacement().

◆ cfg_

const SgTaskConfig* SgOceanLoad::cfg_
private

Definition at line 91 of file SgOceanLoad.h.

Referenced by SgOceanLoad().

◆ speed

const double SgOceanLoad::speed
staticprivate
Initial value:
=
{
1.40519e-04, 1.45444e-04, 1.37880e-04, 1.45842e-04, 0.72921e-04,
0.67598e-04, 0.72523e-04, 0.64959e-04, 0.53234e-05, 0.26392e-05, 0.03982e-05
}

Definition at line 85 of file SgOceanLoad.h.

Referenced by arg_IERS().


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