0.3.0
Loading...
Searching...
No Matches
NAV::internal Namespace Reference

EGM96 coefficients. More...

Classes

struct  all_t
 All type to request all rows or columns in KeyedMatrices. More...
 
struct  GPT2Data
 Parameters of the GP2 grid in in 1 degree x 1 degree resolution. More...
 
struct  GPT3Data
 Parameters of the GP3 grid in in 1 degree x 1 degree resolution. More...
 
class  KeyedMatrixBase
 Class to inherit common methods for static and dynamic sized matrices. More...
 
class  KeyedMatrixCols
 Base class for Keyed matrices with multiple columns of static size. More...
 
class  KeyedMatrixCols< Scalar, ColKeyType, Rows, Eigen::Dynamic >
 Base class for Keyed matrices with multiple columns of dynamic size. More...
 
class  KeyedMatrixColsBase
 Base class for Keyed matrices with multiple columns. More...
 
class  KeyedMatrixRows
 Base class for Keyed matrices with multiple rows of static size. More...
 
class  KeyedMatrixRows< Scalar, RowKeyType, Eigen::Dynamic, Cols >
 Base class for Keyed matrices with multiple rows of dynamic size. More...
 
class  KeyedMatrixRowsBase
 Base class for Keyed matrices with multiple rows. More...
 
class  KeyedMatrixStorage
 KeyedMatrix storage class. More...
 
class  KeyedRowVectorBase
 Class to inherit common methods for static and dynamic sized row vectors. More...
 
class  KeyedVectorBase
 Class to inherit common methods for static and dynamic sized vectors. More...
 

Functions

template<typename T>
std::pair< Eigen::MatrixX< T >, Eigen::MatrixX< T > > associatedLegendre (const T &theta, size_t ndegree=10)
 Calculates the associated Legendre Polynomial coefficients necessary for the EGM96.
 
Eigen::MatrixXd readAscii2Matrix ()
 Read function for EGM96 coefficients.
 

Variables

std::array< std::array< double, 6 >, 65338 > egm96Coeffs
 EGM96 coefficients.
 
std::array< GPT2Data, 64800 > GPT2_grid
 GPT2 grid.
 
std::array< GPT3Data, 64800 > GPT3_grid
 GPT3 grid.
 

Detailed Description

Function Documentation

◆ associatedLegendre()

template<typename T>
std::pair< Eigen::MatrixX< T >, Eigen::MatrixX< T > > NAV::internal::associatedLegendre ( const T & theta,
size_t ndegree = 10 )
nodiscard

Calculates the associated Legendre Polynomial coefficients necessary for the EGM96.

Parameters
[in]thetaElevation angle (spherical coordinates) [rad]
[in]ndegreeDegree of associated Legendre polynomials
Returns
Matrix of associated Legendre polynomial coefficients P and its derivative Pd
Note
See 'GUT User Guide' (2018) chapter 4.2, equations (4.2.2), (4.2.3) and (4.2.6)

◆ readAscii2Matrix()

Eigen::MatrixXd NAV::internal::readAscii2Matrix ( )
nodiscard

Read function for EGM96 coefficients.

Returns
'coeffs' MatrixXd of the EGM96 coefficients
Attention
Deprecated: This function is not used anymore, as the coefficients are stored in the source code