Go to the documentation of this file.
23 #ifndef O2SCL_HDF_EOS_IO_H
24 #define O2SCL_HDF_EOS_IO_H
30 #ifdef O2SCL_PLAIN_HDF5_HEADER
34 #include <hdf5/serial/hdf5.h>
40 #include <o2scl/constants.h>
41 #include <o2scl/hdf_file.h>
42 #include <o2scl/lib_settings.h>
43 #include <o2scl/eos_had_apr.h>
44 #include <o2scl/eos_had_skyrme.h>
45 #include <o2scl/eos_had_rmf.h>
46 #include <o2scl/eos_had_gogny.h>
61 std::string filename=
"");
117 bool external=
false,
int verbose=0);
133 std::string name=
"");
Relativistic mean field theory EOS.
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.
Additional functions to read and write EOS data to HDF5 files.
void eos_had_strings_list()
List EOSs understood by eos_had_strings() .
Skyrme hadronic equation of state.
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.
void skyrme_load(o2scl::eos_had_skyrme &sk, std::string model, bool external=false, int verbose=0)
Input a o2scl::eos_had_skyrme object from an HDF file.
Hadronic equation of state [abstract base].
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).