Classes | Functions
o2scl_hdf Namespace Reference

Additional functions to read and write EOS data to HDF5 files.

Classes

class  cloud_file
 
class  hdf_file
 
struct  iterate_parms
 

Functions

void hdf_input (hdf_file &hf, o2scl::table< vec_t > &t, std::string name)
 
void hdf_input_data (hdf_file &hf, o2scl::table< vec_t > &t)
 
void hdf_input (hdf_file &hf, o2scl::table3d &h, std::string name="")
 
void hdf_output (hdf_file &hf, o2scl::table3d &h, std::string name)
 
void hdf_input (hdf_file &hf, o2scl::table_units< vec_t > &t, std::string name)
 
void hdf_input_data (hdf_file &hf, o2scl::table_units< vec_t > &t)
 
void hdf_input (hdf_file &hf, o2scl::uniform_grid< double > &h, std::string name="")
 
void hdf_output (hdf_file &hf, o2scl::uniform_grid< double > &h, std::string name)
 
void hdf_output (hdf_file &hf, o2scl::table<> &t, std::string name)
 
void hdf_output_data (hdf_file &hf, o2scl::table<> &t)
 
void hdf_output (hdf_file &hf, o2scl::table_units<> &t, std::string name)
 
void hdf_output_data (hdf_file &hf, o2scl::table_units<> &t)
 
void hdf_output (hdf_file &hf, o2scl::hist &h, std::string name)
 
void hdf_input (hdf_file &hf, o2scl::hist &h, std::string name="")
 
void hdf_output (hdf_file &hf, o2scl::hist_2d &h, std::string name)
 
void hdf_input (hdf_file &hf, o2scl::hist_2d &h, std::string name="")
 
void hdf_output (hdf_file &hf, o2scl::expval_scalar &h, std::string name)
 
void hdf_input (hdf_file &hf, o2scl::expval_scalar &h, std::string name="")
 
void hdf_output (hdf_file &hf, o2scl::expval_vector &h, std::string name)
 
void hdf_input (hdf_file &hf, o2scl::expval_vector &h, std::string name="")
 
void hdf_output (hdf_file &hf, o2scl::expval_matrix &h, std::string name)
 
void hdf_input (hdf_file &hf, o2scl::expval_matrix &h, std::string name="")
 
void hdf_output (hdf_file &hf, std::vector< o2scl::contour_line > &cl, std::string name)
 
void hdf_input (hdf_file &hf, std::vector< o2scl::contour_line > &cl, std::string name="")
 
void hdf_output (hdf_file &hf, std::vector< o2scl::edge_crossings > &ec, std::string name)
 
void hdf_input (hdf_file &hf, std::vector< o2scl::edge_crossings > &ec, std::string name="")
 
void hdf_output (hdf_file &hf, o2scl::tensor_grid< std::vector< double >, std::vector< size_t > > &t, std::string name)
 
void hdf_input (hdf_file &hf, o2scl::tensor_grid< std::vector< double >, std::vector< size_t > > &t, std::string name="")
 
int iterate_match_type (hid_t loc, const char *name, const H5L_info_t *inf, void *op_data)
 
int iterate_match_name (hid_t loc, const char *name, const H5L_info_t *inf, void *op_data)
 
void gogny_load (o2scl::eos_had_gogny &ge, std::string model, bool external=false)
 Read the Gogny EOS from a data file. More...
 
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. More...
 
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. More...
 
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.
 
void skyrme_write (o2scl::eos_had_skyrme &sk, std::string model)
 Write a o2scl::eos_had_skyrme object to an HDF file in the O2scl data directory.
 
o2scl::eos_had_baseeos_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 eos_had_strings_list ()
 List EOSs understood by eos_had_strings() .
 

Function Documentation

◆ gogny_load()

void o2scl_hdf::gogny_load ( o2scl::eos_had_gogny ge,
std::string  model,
bool  external = false 
)

If external is false (the default), then the model (either d1n or d1s is loaded from the O2scl data directory in file gogny.o2. Otherwise, the parameter model is taken to be the full pathname of the HDF5 file containing the EOS model data to be loaded.

◆ rmf_load()

void o2scl_hdf::rmf_load ( o2scl::eos_had_rmf rmf,
std::string  model,
bool  external = false 
)

If external is false (the default), then the model is loaded from the O2scl data directory rmfdata with the suffix .o2. Otherwise, the parameter model is taken to be the full pathname of the HDF5 file containing the EOS model data to be loaded.

◆ skyrme_load()

void o2scl_hdf::skyrme_load ( o2scl::eos_had_skyrme sk,
std::string  model,
bool  external = false 
)

If external is false (the default), then the model is loaded from the O2scl data directory skdata with the suffix .o2. Otherwise, the parameter model is taken to be the full pathname of the HDF5 file containing the EOS model data to be loaded.

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).