23 #ifndef O2SCL_HDF_EOS_IO_H 24 #define O2SCL_HDF_EOS_IO_H 30 #ifdef O2SCL_UBUNTU_HDF5 31 #include <hdf5/serial/hdf5.h> 36 #include <o2scl/constants.h> 37 #include <o2scl/hdf_file.h> 38 #include <o2scl/lib_settings.h> 39 #include <o2scl/eos_had_apr.h> 40 #include <o2scl/eos_had_skyrme.h> 41 #include <o2scl/eos_had_rmf.h> 42 #include <o2scl/eos_had_gogny.h> 57 std::string filename=
"");
void rmf_load(o2scl::eos_had_rmf &rmf, std::string model, bool external=false)
Input a o2scl::eos_had_rmf object from an HDF file.
o2scl::eos_had_base * eos_had_strings(std::string type, std::string name="")
Return a pointer to an eos_had_base object from two strings specifying type and name.
Relativistic mean field theory EOS.
void skyrme_load(o2scl::eos_had_skyrme &sk, std::string model, bool external=false)
Input a o2scl::eos_had_skyrme object from an HDF file.
void eos_had_strings_list()
List EOSs understood by eos_had_strings() .
Additional functions to read and write EOS data to HDF5 files.
Hadronic equation of state [abstract base].
Skyrme hadronic equation of state.
void gogny_load(o2scl::eos_had_gogny &ge, std::string model, std::string filename="")
Read the Gogny EOS from a data file.
void skyrme_write(hdf_file &hf, o2scl::eos_had_skyrme &sk, std::string name)
Write a o2scl::eos_had_skyrme object to an HDF file.