Planetary Orbital Evolution due to Tides
Orbital evolution of two objects experiencing tides
DissipationQuantities.h
Go to the documentation of this file.
1 
9 #ifndef __DISSIPATION_QUANTITIES_H
10 #define __DISSIPATION_QUANTITIES_H
11 
12 #include "../Core/SharedLibraryExportMacros.h"
13 #include <ostream>
14 #include <cassert>
15 
16 namespace Evolve {
17 
21  namespace Dissipation {
22 
24  enum LIB_LOCAL Quantity {
28 
31  TORQUEX,
32 
35  TORQUEY,
36 
39  TORQUEZ,
40 
43 
46 
51 
54 
57  }; //End Quantity enumeration.
58 
60  enum LIB_LOCAL QuantityEntry {
61 
64 
72  AGE,
73 
79 
82 
85 
89 
92 
96 
100 
102  RADIUS,
103 
109 
114  SPIN_ANGMOM,
115 
117  SEMIMAJOR,
118 
121 
125 
127  NUM_ENTRIES
128  }; //End QuantityEntries enumeration.
129 
130  } //End Dissipation namespace.
131 
132  LIB_LOCAL inline bool zone_specific(Dissipation::QuantityEntry entry)
133  {
134  return (entry == Dissipation::SPIN_FREQUENCY
135  ||
136  entry == Dissipation::INCLINATION
137  ||
138  entry == Dissipation::PERIAPSIS
139  ||
141  ||
142  entry == Dissipation::SPIN_ANGMOM);
143  }
144 
146  LIB_LOCAL std::ostream &operator<<(std::ostream &os,
147  const Dissipation::Quantity &quantity);
148 
150  LIB_LOCAL std::ostream &operator<<(std::ostream &os,
151  Dissipation::QuantityEntry entry);
152 
153 } //End Evolve namespace.
154 
155 #endif
RADIUS
The derivative w.r.t. the radius of the body in .
END_PHASE_LAG_DERIV
The above derivatives exist for modified phase lags, below do not.
Inclination of the zone.
ECCENTRICITY_DECAY
The rate at which the eccentricity decays per Gyr.
SPIN_FREQUENCY
The derivative w.r.t. the spin frequency of a dissipating zone.
std::ostream & operator<<(std::ostream &os, const ZoneEvolutionQuantities &evol_var)
More civilized output for EvolVarType variables.
SEMIMAJOR
The derivative w.r.t. the semimajor axis in AU.
MOMENT_OF_INERTIA
Orientations of zones of bodies in a binary system.
NUM_DERIVATIVES
The total number of derivatives supported.
Periapsis of the zone.
INCLINATION_DECAY
ORBIT_SPINUP
The rate of change of the orbital frequency in rad/day/Gyr.
ECCENTRICITY
The derivative w.r.t. the eccentricity.
END_DIMENSIONLESS_DERIV
Moment of inertia of the zone.
const int NUM_QUANTITIES
The number of interpolation quantities currentyl supported.
Definition: CInterface.cpp:17
AGE
The derivative w.r.t. age, excluding the dependence through the body&#39;s radius and the moments of iner...
NO_DERIV
The quantity itself, undifferentiated.
ORBITAL_FREQUENCY
The derivative w.r.t. the orbital frequency.
SPIN_ANGMOM
The derivative w.r.t. the spin angular momentum in .
SEMIMAJOR_DECAY
Minus the rate of change of the semimajor axis in AU/Gyr.