9 #ifndef __SINGLE_TIDAL_TERM_ZONE_H 10 #define __SINGLE_TIDAL_TERM_ZONE_H 35 int orbital_frequency_multiplier,
39 int spin_frequency_multiplier,
45 const std::valarray<double> &mass_coefficients,
48 const std::valarray<double> &radius_coefficients,
52 const std::valarray<double> &inertia_coefficients
56 inertia_coefficients),
58 __spin_frequency_multiplier(spin_frequency_multiplier),
59 __phase_lag(phase_lag)
64 int spin_frequency_multiplier,
66 Dissipation::QuantityEntry entry,
67 double &above_lock_value)
const 77 spin_frequency_multiplier == __spin_frequency_multiplier
83 spin_frequency_multiplier == -__spin_frequency_multiplier
91 if(forcing_frequency == 0) {
92 if(spin_frequency_multiplier >= 0) {
93 above_lock_value = -result;
96 above_lock_value = result;
Orientations of zones of bodies in a binary system.
bool can_lock() const
See DissipatingZone::can_lock()
int __spin_frequency_multiplier
See spin_frequency_multiplier argument to constructor.
double __phase_lag
See phase_lag argument to constructor.
A zone dissipative to only a single tidal term.
Declare a dissipative zone class where the mass and radius evolution are given by a polynomial...
NO_DERIV
The quantity itself, undifferentiated.
SingleTidalTermZone(int orbital_frequency_multiplier, int spin_frequency_multiplier, double phase_lag, const std::valarray< double > &mass_coefficients, const std::valarray< double > &radius_coefficients, const std::valarray< double > &inertia_coefficients)
double forcing_frequency(int orbital_frequency_multiplier, int spin_frequency_multiplier, double orbital_frequency) const
The tidal forcing frequency for the given term and orbital frequency.
double modified_phase_lag(int orbital_frequency_multiplier, int spin_frequency_multiplier, double forcing_frequency, Dissipation::QuantityEntry entry, double &above_lock_value) const
See DissipatingZone::modified_phase_lag()
int __orbital_frequency_multiplier
See orbital_frequency_multiplier argument to constructor.
bool dissipative() const
See DissipatingZone::dissipative()