Planetary Orbital Evolution due to Tides
Orbital evolution of two objects experiencing tides
MakeStar.cpp
Go to the documentation of this file.
1 
8 #include "MakeStar.h"
9 
11  const StellarEvolution::Interpolator &evolution,
12  double wind_strength,
13  double wind_sat_freq,
14  double coupling_timescale,
15  double phase_lag
16 )
17 {
19  new Star::InterpolatedEvolutionStar(1.0,//mass
20  0.0,//feh
21  wind_strength,
22  wind_sat_freq,
23  coupling_timescale,
24  evolution)
25  );
26  star->envelope().setup(std::vector<double>(),//Wtide breaks
27  std::vector<double>(),//W* breaks
28  std::vector<double>(1, 0.0),//Wtide pow.
29  std::vector<double>(1, 0.0),//W* pow.
30  phase_lag);
31  return star;
32 }
A class that interpolates among stellar evolution tracks.
Definition: Interpolator.h:42
Declares functions for creating stars used by unit tests.
const EvolvingStellarEnvelope & envelope() const
The envelope of the star - inmodifiable.
Definition: EvolvingStar.h:94
Star::InterpolatedEvolutionStar * make_const_lag_star(const StellarEvolution::Interpolator &evolution, double wind_strength, double wind_sat_freq, double coupling_timescale, double phase_lag)
Create a star with the given parameters with a constant phase lag.
Definition: MakeStar.cpp:10
void setup(const std::vector< double > &tidal_frequency_breaks, const std::vector< double > &spin_frequency_breaks, const std::vector< double > &tidal_frequency_powers, const std::vector< double > &spin_frequency_powers, double reference_phase_lag, double inertial_mode_enhancement=1.0, double inertial_mode_sharpness=10.0)
Seup the zone with the given breaks/powers and inertial mode enhancement. Continuous accress all brea...