14 #include "../Core/SharedLibraryExportMacros.h" 15 #include "StellarEvolution.h" 18 #include "dirent_hacked.h" 23 #include <boost/archive/text_oarchive.hpp> 24 #include <boost/archive/text_iarchive.hpp> 25 #include <boost/serialization/base_object.hpp> 43 rad_conv_boundary_col,
55 YRECHeader(std::ifstream &track,
const std::string &filename);
95 std::list< std::valarray<double> >::iterator age_iter,
153 std::list< std::valarray<double> >
169 void read_model_file(
const std::string &filename);
192 const std::string &model_directory,
195 double smooth_radius=-2.0,
199 double smooth_conv_inertia=0,
203 double smooth_rad_inertia=2.0,
206 double smooth_rad_mass=2.0,
209 double smooth_core_env_boundary=3.5,
216 int radius_nodes=-1000,
224 int conv_inertia_nodes=-1000,
232 int rad_inertia_nodes=-1000,
239 int rad_mass_nodes=-1000,
246 int core_env_boundary_nodes=-5000);
Defines various astronomical constants.
bool operator!=(const EvolutionIterator &rhs)
Is RHS at a different position than this?
std::list< double >::iterator mass_iter
Iterator over the masses of the tracks.
std::list< std::valarray< double > > radii
The stellar radii in each track.
An iterator over the list of extracted tracks.
YRECEvolution()
Default constructor, use load_state to get a working interpolator.
Defines the exception hierarchy used by this code.
EvolutionIterator()
Create an iterator, which must have all its *_iter members set before it can be used.
A stellar evolution interpolator based on the YREC tracks.
std::list< double > mass_list
The masses of the available tracks.
std::list< std::valarray< double > >::iterator radius_iter
Iterator over the arrays of stellar radii of the tracks.