Callback class for temperature. More...
#include <quantitycallbacks.hh>
Public Types | |
typedef std::remove_const< typename std::remove_reference< ResultRawType >::type >::type | ResultType |
typedef Opm::MathToolbox< ResultType >::ValueType | ResultValueType |
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. More... | |
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.