Planetary Orbital Evolution due to Tides
Orbital evolution of two objects experiencing tides
CustomStellarEvolution.h
Go to the documentation of this file.
1 
13 #ifndef __CUSTOM_STELLAR_EVOLUTION_H
14 #define __CUSTOM_STELLAR_EVOLUTION_H
15 
16 #include "../Core/SharedLibraryExportMacros.h"
17 #include "StellarEvolution.h"
18 #include "IOUtil.h"
19 #include <fstream>
20 #include <string>
21 #include <limits>
22 
23 namespace StellarEvolution {
24 
29 
33  enum Columns {
37 
41 
43 
47 
51 
54 
56  AGE,
57 
60 
63  };
64 
69  class LIB_PUBLIC Interpolator : public StellarEvolution::Interpolator {
70  private:
73  std::valarray< std::valarray<double> > read_track(
75  const std::string &filename,
76 
78  const std::vector<Columns> &format
79  ) const;
80  public:
82  Evolution(
84  const std::string &filename,
85 
87  const std::vector<Columns> &format,
88 
93  const std::vector<double> &smoothing,
94 
103  const std::vector<int> &nodes,
104 
107  const std::vector<bool> &vs_log_age,
108 
111  const std::vector<bool> &log_quantity
112  );
113  };
114 
115  } //End CustomStellarEvolution namespace.
116 
117 } //End StellarEvolution namespace.
118 
119 #endif
120 
Radius of the stellar core in (low mass stars only).
Moment of inertia of the convective envelope of the star in .
A class that interpolates among stellar evolution tracks.
Definition: Interpolator.h:42
The number of different input quantities supported.
Moment of inertia of the radiative core of the star in .
A column which is not needed to interpolate the evolution.
A stellar evolution interpolator using only a single track, assumed to apply to all stars...
Mass of the stellar core in (low mass stars only).