Planetary Orbital Evolution due to Tides
Orbital evolution of two objects experiencing tides
TwoPhaseLagZone.cpp
1 #include "TwoPhaseLagZone.h"
2 
4  int spin_frequency_multiplier,
5  double forcing_frequency,
6  Dissipation::QuantityEntry entry,
7  double &above_lock_value) const
8 {
9  if(entry != Dissipation::NO_DERIV) return 0;
10  if(std::abs(forcing_frequency) > 2.0 * std::abs(spin_frequency()))
11  return (forcing_frequency > 0
14  else if(forcing_frequency == 0) {
15  above_lock_value=(spin_frequency_multiplier > 0
18  return -above_lock_value;
19  } else
20  return (forcing_frequency > 0
23 }
double __inertial_modified_lag
The modified phase lag in the inertial wave frequency range.
double __equilibrium_modified_lag
The modified pase lag outside the inertia wave frequency range.
NO_DERIV
The quantity itself, undifferentiated.
Declares the class that provides the phase lag function to DissipatingZone objects.
virtual double modified_phase_lag(int orbital_frequency_multiplier, int spin_frequency_multiplier, double forcing_frequency, Dissipation::QuantityEntry entry, double &above_lock_value) const
Should return the tidal phase lag time the love number for the given tidal term (or one of its deriva...