8 #define BUILDING_LIBRARY 15 Evolve::Dissipation::QuantityEntry entry
34 return result / (2.0 *
radius());
51 if(primary) assert(
this == &(system.
primary()));
52 else assert(
this == &(system.
secondary()));
53 assert(__detected_saturation);
RADIUS
The derivative w.r.t. the radius of the body in .
double angular_momentum() const
The angular momentum of the given zone in .
const DissipatingBody & primary() const
Returns the primary body in the system (const).
Satisfied when the surface zone of a body is spinning at exactly the wind saturation frequency...
SPIN_FREQUENCY
The derivative w.r.t. the spin frequency of a dissipating zone.
double __wind_strength
The strength of the magnetic wind.
virtual const DissipatingZone & zone(unsigned zone_index) const =0
A modifiable reference to one of the body's zones.
virtual double moment_of_inertia(int deriv_order=0) const =0
Moment of inertia of the zone or its age derivative at the age of last configure() call...
double mass() const
The mass of the body (constant with age).
Decrales a body subject to angular momentum loss .
virtual CombinedStoppingCondition * stopping_conditions(BinarySystem &system, bool primary)
Conditions detecting the next possible discontinuities in the evolution due to this body...
double radius(int deriv_order=0) const
The current radius or its derivative with age of the body.
Declaration of a stopping condition monitoring for the surface spin of a star crossing the wind satur...
const DissipatingBody & secondary() const
Returns the secondary body in the system (const).
double __saturation_freq
The frequency at which the wind loss saturates in rad/day.
Core::EvolModeType evolution_mode()
The evolution mode of last call to configure().
NO_DERIV
The quantity itself, undifferentiated.
SPIN_ANGMOM
The derivative w.r.t. the spin angular momentum in .
double angular_momentum_loss(Evolve::Dissipation::QuantityEntry entry=Evolve::Dissipation::NO_DERIV) const
See DissipatingBody::angular_momentum_loss().
A class combining the the outputs of multiple stopping conditions.
bool __saturated
Is the wind currently saturated?
Describes a system of two bodies orbiting each other.
virtual Evolve::CombinedStoppingCondition * stopping_conditions(Evolve::BinarySystem &system, bool primary)
Conditions detecting the next possible discontinuities in the evolution due to this body...
double spin_frequency() const
The surface spin freuqency of the body.