Calculate the tidal potential over one component of an eccentric binary. More...
#include <TidalPotential.h>
Collaboration diagram for Evolve::TidalPotential:Public Member Functions | |
| TidalPotential (double primary_mass=Core::NaN, double secondary_mass=Core::NaN, double semimajor=Core::NaN, double eccentricity=Core::NaN, double inclination=Core::NaN, double arg_of_periapsis=Core::NaN) | |
| Define the boundary for which to calculate the tidal potential. More... | |
| double | inclination () const |
| See __inclination attribute. More... | |
| double & | inclination () |
| A mutable reference to the inclination of the system. More... | |
| double | arg_of_periapsis () const |
| The argument of periapsis of the system. More... | |
| double & | arg_of_periapsis () |
| A mutable reference to the argument of periapsis of the system. More... | |
| const EccentricOrbit & | orbit () const |
| An unmutable reference to the binary orbit. More... | |
| EccentricOrbit & | orbit () |
| Mutable reference to the binary orbit. More... | |
| template<class POSITION_TYPE > | |
| double | operator() (const POSITION_TYPE &position, double time) const |
| Return the tidal potential at a specific position and time in SI. More... | |
Private Attributes | |
| EccentricOrbit | __orbit |
| The binary orbit. More... | |
| double | __inclination |
| double | __arg_of_periapsis |
Calculate the tidal potential over one component of an eccentric binary.
Definition at line 17 of file TidalPotential.h.
|
inline |
Define the boundary for which to calculate the tidal potential.
| primary_mass | See same name argument to EccentricOrbit. |
| secondary_mass | See same name argument to EccentricOrbit. |
| semimajor | See same name argument to EccentricOrbit. |
| eccentricity | See same name argument to EccentricOrbit. |
| inclination | See __inclination attribute. |
| arg_of_periapsis | See __arg_of_periapsis attribute. |
Definition at line 35 of file TidalPotential.h.
|
inline |
The argument of periapsis of the system.
Definition at line 66 of file TidalPotential.h.
|
inline |
A mutable reference to the argument of periapsis of the system.
Definition at line 69 of file TidalPotential.h.
|
inline |
See __inclination attribute.
Definition at line 60 of file TidalPotential.h.
|
inline |
A mutable reference to the inclination of the system.
Definition at line 63 of file TidalPotential.h.
| double Evolve::TidalPotential::operator() | ( | const POSITION_TYPE & | position, |
| double | time | ||
| ) | const |
Return the tidal potential at a specific position and time in SI.
| position | The position to evaluate the potential at in a coordinate system centered on the primary body with \( \hat{z} = \hat{S} \), \( \hat{y} = \hat{S} \times \hat{L} \). |
Must provide indexing with indices 0, 1, 2 for the three components.
| time | The time in days when to evalutae the tidal potential. The system is in periapsis at time = 0. |
Definition at line 96 of file TidalPotential.h.
|
inline |
An unmutable reference to the binary orbit.
Definition at line 72 of file TidalPotential.h.
|
inline |
Mutable reference to the binary orbit.
Definition at line 75 of file TidalPotential.h.
|
private |
90 degrees less than the angle from \( \hat{y} = \hat{S} \times \hat{L} \) to the direction of periapsis in radians.
Definition at line 25 of file TidalPotential.h.
|
private |
The angle between the orbital angular momentum and the spin angular momentum of the primary.;
Definition at line 25 of file TidalPotential.h.
|
private |
The binary orbit.
Definition at line 20 of file TidalPotential.h.