8 #ifndef __LOCKED_PLANET_H 9 #define __LOCKED_PLANET_H 11 #include "../Core/SharedLibraryExportMacros.h" 13 #include "../Evolve/DissipatingBody.h" 29 double inertia_factor=0.3) :
30 __zone(mass, radius, inertia_factor)
44 assert(zone_index == 0);
56 assert(zone_index == 0);
74 "coupling of a Planet!");
PlanetZone __zone
The only zone of the planet.
Eigen::Vector3d angular_momentum_coupling(unsigned, Evolve::Dissipation::QuantityEntry=Evolve::Dissipation::NO_DERIV, bool=false) const
Should never be called.
Evolve::DissipatingZone & zone(unsigned zone_index)
Returns the only zone.
A base class for any body contributing to tidal dissipation.
const PlanetZone & zone() const
Returns the only zone.
const Evolve::DissipatingZone & zone(unsigned zone_index) const
Returns the only zone.
A layer of a system body for which the tidal bulge is not exactly in phase with the tidal potential...
void reached_critical_age(double)
No critical ages for non-evolving non-dissipating planets.
Planet(double mass, double radius, double inertia_factor=0.3)
Create a planet with a constant mass and radius.
unsigned number_zones() const
The number of zones the body consists of.
PlanetZone & zone()
Returns the only zone.
double angular_momentum_loss(Evolve::Dissipation::QuantityEntry=Evolve::Dissipation::NO_DERIV) const
Always zero.
NO_DERIV
The quantity itself, undifferentiated.
Declares a class for the single zone of LockedPlanet objects.
The only zone of a LockedPlanet.