Public Member Functions | List of all members
h5::StellarCollapseEos Class Reference

Reads in tabulated equation of state file from stellarcollapse.org More...

#include <StellarCollapseEos.hpp>

Public Member Functions

template<typename T >
get_scalar_dataset (const std::string &dataset_name) const noexcept
 reads a rank-0 dataset (contains only one element)
 
std::vector< double > get_rank1_dataset (const std::string &dataset_name) const noexcept
 reads a dataset with elements along 1 dimension
 
boost::multi_array< double, 3 > get_rank3_dataset (const std::string &dataset_name) const noexcept
 reads a dataset with elements along 3 dimensions
 

Detailed Description

Reads in tabulated equation of state file from stellarcollapse.org

Reads in H5 file containing data for tabulated equation of state. Contains functions to obtain thermodynamic quantities from the file, stored as either rank-1 or rank-3 datasets.

It is assumed that the file is in the format of the SRO (Schneider, Roberts, Ott 2017) Equation of State files

The description of each dataset in the file can be found here


The documentation for this class was generated from the following file: