|
SpECTRE
2021.08.02
|
Reads in tabulated equation of state file from stellarcollapse.org More...
#include <StellarCollapseEos.hpp>
Public Member Functions | |
| template<typename T > | |
| 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 | |
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