A class that only defines the phase lag function for zones. More...
#include <TwoPhaseLagZone.h>
Public Member Functions | |
TwoPhaseLagZone (double equilibrium_modified_lag=0, double inertial_modified_lag=0) | |
Create the zone with the given phase lags. More... | |
void | set_equilibrium_modified_lag (double lag) |
Set the modified pase lag outside the inertia wave frequency range. More... | |
void | set_inertial_modified_lag (double lag) |
Set the modified pase lag in the inertia wave frequency range. More... | |
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 derivatives). More... | |
virtual double | love_coefficient (int, int, Dissipation::QuantityEntry) const |
Should return the corresponding component of the love coefficient (Lai 2012 Equation 24). More... | |
Private Attributes | |
double | __equilibrium_modified_lag |
The modified pase lag outside the inertia wave frequency range. More... | |
double | __inertial_modified_lag |
The modified phase lag in the inertial wave frequency range. More... | |
A class that only defines the phase lag function for zones.
Definition at line 15 of file TwoPhaseLagZone.h.
|
inline |
Create the zone with the given phase lags.
equilibrium_modified_lag | The modified pase lag outside the inertia wave frequency range. |
inertial_modified_lag | The modified phase lag in the inertial wave frequency range. |
Definition at line 24 of file TwoPhaseLagZone.h.
|
inlinevirtual |
Should return the corresponding component of the love coefficient (Lai 2012 Equation 24).
Definition at line 76 of file TwoPhaseLagZone.h.
|
virtual |
Should return the tidal phase lag time the love number for the given tidal term (or one of its derivatives).
In case the forcing frequency is exactly zero, it should return the phase lag for the case of the spin frequency approaching the term from below. The lag for spin frequency approaching from above should be written to above_lock_value. If the forcing frequency is non-zero, leave above_lock_value untouched.
orbital_frequency_multiplier | The multiplier of the orbital frequency in the expression for the forcing frequency. |
spin_frequency_multiplier | The multiplier of the spin frequency in the expression for the forcing frequency. |
forcing_frequency | The current forcing frequency in rad/day. |
entry | The return value should be either the phase lag itself (NO_DERIV) or its derivative w.r.t. the specified quantity. |
above_lock_value | If the lag of a locked term is calculated this should be set to the lag assuming the spin frequency is just above the lock. Otherwise, leave untouched. |
Definition at line 3 of file TwoPhaseLagZone.cpp.
|
inline |
Set the modified pase lag outside the inertia wave frequency range.
Definition at line 37 of file TwoPhaseLagZone.h.
|
inline |
Set the modified pase lag in the inertia wave frequency range.
Definition at line 41 of file TwoPhaseLagZone.h.
|
private |
The modified pase lag outside the inertia wave frequency range.
Definition at line 18 of file TwoPhaseLagZone.h.
|
private |
The modified phase lag in the inertial wave frequency range.
Definition at line 18 of file TwoPhaseLagZone.h.