9 #ifndef __SYNCHRONIZED_CONDITION_H 10 #define __SYNCHRONIZED_CONDITION_H 12 #include "../Core/SharedLibraryExportMacros.h" 17 class DissipatingZone;
25 int __orbital_freq_mult,
46 int orbital_freq_mult,
74 std::valarray<double> operator()(
76 const std::valarray<double> &orbit,
77 const std::valarray<double> &derivatives,
78 std::valarray<double> &stop_deriv
94 void reached(
short deriv_sign,
unsigned index=0);
97 virtual std::string describe(
int index = -1)
const;
int __spin_freq_mult
The multiplier in front of the spin frequency in the lock.
BinarySystem & __system
The binary system this locking condition is attached to.
Satisfied when some multiples of the orbit and stellar rotation are synchronized. ...
const DissipatingZone & __zone
The zone whose spin is monitored.
int orbital_frequency_multiplier() const
The multiplier in front of the orbital frequency in the lock.
StoppingConditionType
The reasons for stopping the evolution currently supported.
Orientations of zones of bodies in a binary system.
bool __primary
Which body's spin is checked for locking.
A layer of a system body for which the tidal bulge is not exactly in phase with the tidal potential...
A base class for all stopping conditions.
StoppingConditionType type(unsigned=0) const
Identify this as a SYNCHRONIZED condition.
EvolModeType
The various evolution modes.
unsigned __zone_index
Which zone is checked for locking.
Defines the various stopping conditions needed by OrbitSolver.
int spin_frequency_multiplier() const
The multiplier in front of the spin frequency in the lock.
Describes a system of two bodies orbiting each other.