9 #ifndef __TIDAL_POTENTIAL_TERMS_H 10 #define __TIDAL_POTENTIAL_TERMS_H 15 #include "../Core/Common.h" 31 static const double __Umm_coef[][3];
39 std::valarray< std::valarray<double> >
53 {__e_order = new_e_order;}
55 unsigned current_e_order()
const 59 void configure(
double inclination,
double arg_of_periapsis = 0);
77 std::complex<double> &no_deriv,
80 std::complex<double> &inclination_deriv,
83 std::complex<double> &eccentricity_deriv,
88 std::complex<double> &highest_e_order_term
107 double &inclination_deriv,
110 double &eccentricity_deriv,
115 double &highest_e_order_term
double __Ummp_inclination
The inclination with which __Ummp was last filled.
double __arg_of_periapsis
The argument of periaspsis set by the last call to configure().
static EccentricityExpansionCoefficients __pms
The eccentricity expansion of .
Declares a class which provides the [ coefficients]{InclinationEccentricity_pms1}.
void read(const std::string &tabulated_pms_fname="", int max_e_power=-1)
Reads in tabulated expansion coefficients, making this object useable.
Orientations of zones of bodies in a binary system.
static unsigned max_e_order()
The maximum eccentricity expansion order for which the expansion is known.
static void read_eccentricity_expansion(const std::string &fname)
Reads the eccentricity expansion coefficients of .
void change_e_order(unsigned new_e_order)
Change the eccentricity expansion order.
std::valarray< std::valarray< double > > __Ummp_deriv
The derivatives of the quantities w.r.t. the inclination.
unsigned max_e_power() const
Maximum eccentricity power with all necessary coefficients known.
A class which reads-in and provides a convenient interface to the coefficients.
unsigned __e_order
The expansion order in eccentricity to use.