TransFlow
0.1.0
A transient pipeline flow simulation library
|
37 void evaluate(
const std::vector<HeatTransferState>& state,
const double timeStep,
Pipeline& pipeline)
const;
47 std::unique_ptr<std::vector<std::unique_ptr<HeatTransferBase>>>
m_heat;
const HeatTransferBase & at(std::size_t pos) const
std::vector-like at(i) getter
Definition: heattransfer.hpp:40
auto size() const
std::vector-like size() operator
Definition: heattransfer.hpp:43
void evaluate(const std::vector< HeatTransferState > &state, const double timeStep, Pipeline &pipeline) const
This is a wrapper around HeatTransferBase::evaluate() that calls that function for each grid point....
HeatTransfer(const Pipeline &pipeline, const std::string &type)
Construct from pipeline and string to determine the type of heat transfer.
The EquationOfState class is a wrapper around HeatTransferBase that has one heat transfer instance pe...
Definition: heattransfer.hpp:15
virtual ~HeatTransfer()
Declared to avoid the inline compiler-generated default destructor.
Definition: pipeline.hpp:16
std::unique_ptr< std::vector< std::unique_ptr< HeatTransferBase > > > m_heat
Vector of HeatTransferBase instances, one for each grid point.
Definition: heattransfer.hpp:47
The HeatTransferBase class is an abstract class, the base class for all heat transfer implementations...
Definition: heattransferbase.hpp:12
Container for the state of a HeatTransferBase instance. All HeatTransferBase subclasses operate on in...
Definition: heattransferstate.hpp:13