|
opm-simulators
|
Callback class for temperature. More...
#include <quantitycallbacks.hh>
Public Types | |
| using | ResultType = std::remove_const_t<std::remove_reference_t<ResultRawType>> |
| using | ResultValueType = typename MathToolbox<ResultType>::ValueType |
Public Member Functions | |
| TemperatureCallback (const ElementContext &elemCtx) | |
| ResultType | operator() (unsigned dofIdx) const |
| Return the temperature given the index of a degree of freedom within an element context. | |
Callback class for temperature.
|
inline |
Return the temperature given the index of a degree of freedom within an element context.
In this context, we assume that thermal equilibrium applies, i.e. that the temperature of all phases is equal.