9 #ifndef __SECONDARY_DEATH_CONDITION_H 10 #define __SECONDARY_DEATH_CONDITION_H 12 #include "../Core/SharedLibraryExportMacros.h" 43 std::valarray<double> operator()(
45 const std::valarray<double> &orbit,
46 const std::valarray<double> &derivatives,
47 std::valarray<double> &stop_deriv)
const;
53 void reached(
short deriv_sign,
unsigned index=0);
56 virtual std::string describe(
int index = -1)
const;
BinarySystem & __system
The system this condition is attached to.
SecondaryDeathCondition(BinarySystem &system)
Create a condition watching for the death of the secondary body in a system due to tidal disruption o...
StoppingConditionType
The reasons for stopping the evolution currently supported.
Orientations of zones of bodies in a binary system.
Satisfied when the planet enters below either the roche sphere or the stellar photosphere.
StoppingConditionType type(unsigned=0) const
Identify this as a PLANET_DEATH condition.
A base class for all stopping conditions.
EvolModeType
The various evolution modes.
Defines the various stopping conditions needed by OrbitSolver.
Describes a system of two bodies orbiting each other.