10 #ifndef __EXTERNAL_STOPPING_CONDITIONS_H 11 #define __EXTERNAL_STOPPING_CONDITIONS_H 13 #include "../Core/SharedLibraryExportMacros.h" 32 __spin_thres(spin_thres), __zone(zone) {}
36 std::valarray<double> operator()(
38 const std::valarray<double> &orbit,
39 const std::valarray<double> &derivatives,
40 std::valarray<double> &stop_deriv
44 virtual std::string describe(
int index = 0)
const;
RotFastCondition(double spin_thres, DissipatingZone &zone)
Create a condition tied to the given threshold in rad/day.
Satisfied when a zone is rotating faster than a threshold.
Declares a class representing one zone of a body dissipative to tidal distortions.
A base class for all external stopping conditions.
Orientations of zones of bodies in a binary system.
A layer of a system body for which the tidal bulge is not exactly in phase with the tidal potential...
double __spin_thres
The spin threshold in rad/day.
EvolModeType
The various evolution modes.
DissipatingZone & __zone
Which zone's rotation to monitor.
Defines the various stopping conditions needed by OrbitSolver.