Callback class for the molar density of a phase.
More...
#include <quantitycallbacks.hh>
|
using | ResultType = decltype(std::declval<IQFluidState>().molarDensity(0)) |
|
using | ResultValueType = typename MathToolbox<ResultType>::ValueType |
|
|
| MolarDensityCallback (const ElementContext &elemCtx) |
|
| MolarDensityCallback (const ElementContext &elemCtx, unsigned phaseIdx) |
|
void | setPhaseIndex (unsigned phaseIdx) |
| Set the index of the fluid phase for which the molar density should be returned.
|
|
ResultType | operator() (unsigned dofIdx) const |
| Return the molar density of a phase given the index of a degree of freedom within an element context.
|
|
template<class TypeTag>
class Opm::MolarDensityCallback< TypeTag >
Callback class for the molar density of a phase.
The documentation for this class was generated from the following file: