My Project
|
Module for the modular fluid state which stores the temperatures explicitly. More...
#include <FluidStateTemperatureModules.hpp>
Public Member Functions | |
const Scalar & | temperature (unsigned phaseIdx) const |
The temperature of a fluid phase [-]. | |
void | setTemperature (unsigned phaseIdx, const Scalar &value) |
Set the temperature of a phase [-]. | |
template<class FluidState > | |
void | assign (const FluidState &fs) |
Retrieve all parameters from an arbitrary fluid state. | |
void | checkDefined () const |
Make sure that all attributes are defined. More... | |
Protected Attributes | |
Scalar | temperature_ [numPhases] |
Module for the modular fluid state which stores the temperatures explicitly.
|
inline |
Make sure that all attributes are defined.
This method does not do anything if the program is not run under valgrind. If it is, then valgrind will print an error message if some attributes of the object have not been properly defined.