9 #ifndef __CONST_PHASE_LAG_H 10 #define __CONST_PHASE_LAG_H 30 const std::valarray<double> &mass_coefficients,
33 const std::valarray<double> &radius_coefficients,
37 const std::valarray<double> &inertia_coefficients
41 inertia_coefficients),
42 __phase_lag(phase_lag)
47 int spin_frequency_multiplier,
49 Dissipation::QuantityEntry entry,
50 double &above_lock_value)
const 59 if(forcing_frequency == 0) {
61 if(spin_frequency_multiplier >= 0) {
62 above_lock_value = -result;
65 above_lock_value = result;
69 return (forcing_frequency > 0 ? result : -result);
A zone with constant phase lag for all tidal terms.
Orientations of zones of bodies in a binary system.
double __phase_lag
The constant value of the phase lag.
bool can_lock() const
See DissipatingZone::can_lock()
Declare a dissipative zone class where the mass and radius evolution are given by a polynomial...
NO_DERIV
The quantity itself, undifferentiated.
ConstPhaseLagZone(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, int spin_frequency_multiplier, double forcing_frequency, Dissipation::QuantityEntry entry, double &above_lock_value) const
See DissipatingZone::modified_phase_lag()
bool dissipative() const
See DissipatingZone::dissipative()