9 #ifndef __TIDAL_POTENTIAL_TERMS_H 10 #define __TIDAL_POTENTIAL_TERMS_H 15 #include "../Core/Common.h" 30 static const double __Umm_coef[][3];
38 std::valarray< std::valarray<double> >
51 static void prepare(
const std::string &tabulated_pms_fname,
54 bool disable_precision_fail)
56 __pms.
prepare(tabulated_pms_fname,
59 disable_precision_fail);
97 static std::pair<double,double> get_expansion_range(
int max_mp);
100 void configure(
double inclination,
double arg_of_periapsis = 0);
118 std::complex<double> &no_deriv,
121 std::complex<double> &inclination_deriv,
124 std::complex<double> &eccentricity_deriv
143 double &inclination_deriv,
146 double &eccentricity_deriv
double get_expansion_precision() const
Return the expansion precision set by the last call to prepare()
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 .
int max_expansion_order() const
The largest s for which is known.
Declares a class which provides the [ coefficients]{InclinationEccentricity_pms1}.
static void prepare(const std::string &tabulated_pms_fname, double precision, bool pre_load, bool disable_precision_fail)
See EccentricityExpansionCoefficients::prepare()
Orientations of zones of bodies in a binary system.
static const EccentricityExpansionCoefficients & expansion_coefficient_evaluator()
Provide direct access to the eccentircity expansion coefficients.
std::valarray< std::valarray< double > > __Ummp_deriv
The derivatives of the quantities w.r.t. the inclination.
static unsigned max_expansion_order()
The maximum eccentricity expansion order (orbital frequency multiplier for which the expansion is kno...
void prepare(const std::string &tabulated_pms_fname, double precision, bool pre_load, bool disable_precision_fail=false)
Reads in tabulated expansion coefficients, making this object useable.
static unsigned required_expansion_order(double e)
The maximum orbital frequency multiplier to include in the potential Fourier expansion in order to ac...
double get_expansion_precision() const
Return the expansion precision target for the expansion terms.
int required_expansion_order(double e, int m) const
Return the smallest s value such that all for.
A class which reads-in and provides a convenient interface to the coefficients.