25#include <unordered_map>
38 using EOSTable = std::variant<std::unique_ptr<serif::eos::helmholtz::HELMTable>>;
std::string m_filename
The filename of the EOS table.
void loadHelm()
Loads the HELM format EOS table.
void load()
Loads the EOS table from the file.
EOSTable m_table
The EOS table data.
bool m_loaded
Flag indicating if the table is loaded.
~EOSio()=default
Default destructor.
EOSio(const std::string &filename, EOSFormat format=EOSFormat::HELM)
Constructs an EosIO object with the given filename.
std::string getFormatName() const
Gets the format name (as a string) of the EOS table.
EOSFormat getFormat() const
EOSTable & getTable()
Gets the EOS table.
std::string getFilename() const
@ HELM
Helmholtz EOS format.
std::variant< std::unique_ptr< serif::eos::helmholtz::HELMTable > > EOSTable
static std::unordered_map< EOSFormat, std::string > FormatStringLookup