Vulcan
Aerospace Engineering Utilities Built on Janus
Loading...
Searching...
No Matches
vulcan::gravity::spherical_harmonics::GravityCoefficients Struct Reference

Gravity model coefficients container. More...

#include <SphericalHarmonics.hpp>

Public Member Functions

 GravityCoefficients (int n_max_val=20, double mu_val=constants::earth::mu, double R_eq_val=constants::earth::R_eq)
 Initialize with given maximum degree.

Public Attributes

int n_max
 Maximum degree.
std::vector< std::vector< double > > C
 Cosine coefficients C[n][m].
std::vector< std::vector< double > > S
 Sine coefficients S[n][m].
double mu
 Gravitational parameter [m³/s²].
double R_eq
 Reference radius [m].

Detailed Description

Gravity model coefficients container.

Stores normalized C and S coefficients for spherical harmonic expansion. Supports up to degree/order N_MAX (compile-time or runtime).

Constructor & Destructor Documentation

◆ GravityCoefficients()

vulcan::gravity::spherical_harmonics::GravityCoefficients::GravityCoefficients ( int n_max_val = 20,
double mu_val = constants::earth::mu,
double R_eq_val = constants::earth::R_eq )
inlineexplicit

Initialize with given maximum degree.

Member Data Documentation

◆ C

std::vector<std::vector<double> > vulcan::gravity::spherical_harmonics::GravityCoefficients::C

Cosine coefficients C[n][m].

◆ mu

double vulcan::gravity::spherical_harmonics::GravityCoefficients::mu

Gravitational parameter [m³/s²].

◆ n_max

int vulcan::gravity::spherical_harmonics::GravityCoefficients::n_max

Maximum degree.

◆ R_eq

double vulcan::gravity::spherical_harmonics::GravityCoefficients::R_eq

Reference radius [m].

◆ S

std::vector<std::vector<double> > vulcan::gravity::spherical_harmonics::GravityCoefficients::S

Sine coefficients S[n][m].


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