9 #ifndef __TEST_GRAVITATIONAL_POTENTIAL_H 10 #define __TEST_GRAVITATIONAL_POTENTIAL_H 16 #include "../shared/Common.h" 41 double secondary_mass,
53 double arg_of_periapsis,
57 const Eigen::Vector3d &position,
67 const Eigen::Vector3d &position,
84 const Eigen::Vector3d &position
93 double secondary_mass,
105 double arg_of_periapsis,
void tear_down()
No fixtures at this time.
Basic description of two bodies in an eccentric orbit.
void test_single_point(TidalPotentialExpansion &approx_potential, const TidalPotential &exact_potential, const Eigen::Vector3d &position)
Test the expansion for a given system at a given position, sampling time.
void setup()
No fixtures at this time.
test_GravitationalPotential()
Create the test suite.
void print_tidal_potential(double primary_mass, double secondary_mass, double semimajor, double eccentricity, double inclination, double arg_of_periapsis, const Eigen::Vector3d &position, unsigned e_order) const
Print to stdout the value of the tidal potential without an approximation and using the expansion as ...
void test_expansion()
Test the expansion of the potential for multiple system configurations, locations and times...
Evaluate the tidal potential using the expansion.
Declare an interface for evaluating the expansion of the tidal potential.
The test suite that compares the tidal potential expansion to the exact expression.
Orientations of zones of bodies in a binary system.
double abs_expected_precision(const Eigen::Vector3d &position, const EccentricOrbit &orbit) const
Declare an interface for calculating the tidal potential due to a companion in an eccentric orbit...
void test_system(double primary_mass, double secondary_mass, double semimajor, double eccentricity, double inclination, double arg_of_periapsis, unsigned e_order=0)
Test the expansion for a given system, sampling positions and times.
Calculate the tidal potential over one component of an eccentric binary.
void print_orbit(const EccentricOrbit &orbit) const
Print to stdout the location of the secondary relative to the primary as a function of time for the g...
Declare an interface for working with eccentric orbits.