TransFlow
0.1.0
A transient pipeline flow simulation library
|
47 std::unique_ptr<std::vector<std::unique_ptr<EquationOfStateBase>>>
m_eos;
Definition: pipeline.hpp:16
EquationOfState(const Pipeline &pipeline, const std::string &type)
Construct from pipeline and string to determine the type of equation of state.
arma::mat evaluate(const Pipeline &state)
This is a wrapper around EquationOfStateBase::evaluate() that calls that function for each grid point...
The EquationOfStateBase is an abstract class, the base class for different equations of state.
Definition: equationofstatebase.hpp:20
~EquationOfState()
Declared to avoid the inline compiler-generated default destructor.
const EquationOfStateBase & at(std::size_t pos) const
std::vector-like at(i) getter
Definition: equationofstate.hpp:40
The EquationOfState class is a wrapper around EquationOfStateBase that has one equation of state inst...
Definition: equationofstate.hpp:15
auto size() const
std::vector-like size() operator
Definition: equationofstate.hpp:43
std::unique_ptr< std::vector< std::unique_ptr< EquationOfStateBase > > > m_eos
Vector of EquationOfStateBase instances, one for each grid point.
Definition: equationofstate.hpp:47