OGS
|
Constant fluid properties.
Definition at line 22 of file ConstantFluidProperty.h.
#include <ConstantFluidProperty.h>
Public Member Functions | |
ConstantFluidProperty (const double value) | |
std::string | getName () const override |
Get model name. | |
double | getValue (const ArrayType &var_vals) const override |
double | getdValue (const ArrayType &var_vals, const PropertyVariableType var) const override |
Public Member Functions inherited from MaterialLib::Fluid::FluidProperty | |
virtual | ~FluidProperty ()=default |
Private Attributes | |
const double | _value |
Additional Inherited Members | |
Public Types inherited from MaterialLib::Fluid::FluidProperty | |
using | ArrayType = std::array<double, PropertyVariableNumber> |
|
inlineexplicit |
Definition at line 25 of file ConstantFluidProperty.h.
|
inlineoverridevirtual |
Get the partial differential of the property value
var_vals | Variable values in an array. The order of its elements is given in enum class PropertyVariableType. |
var | Variable type. |
Implements MaterialLib::Fluid::FluidProperty.
Definition at line 42 of file ConstantFluidProperty.h.
|
inlineoverridevirtual |
Get model name.
Implements MaterialLib::Fluid::FluidProperty.
Definition at line 28 of file ConstantFluidProperty.h.
|
inlineoverridevirtual |
Get property value.
var_vals | Variable values in an array. The order of its elements is given in enum class PropertyVariableType. |
Implements MaterialLib::Fluid::FluidProperty.
Definition at line 32 of file ConstantFluidProperty.h.
References _value.
|
private |
Definition at line 51 of file ConstantFluidProperty.h.
Referenced by getValue().