Ewoms::TemperatureCallback< TypeTag > Class Template Reference

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...
 

Detailed Description

template<class TypeTag>
class Ewoms::TemperatureCallback< TypeTag >

Callback class for temperature.

Member Function Documentation

◆ operator()()

template<class TypeTag>
ResultType Ewoms::TemperatureCallback< TypeTag >::operator() ( unsigned  dofIdx) const
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.


The documentation for this class was generated from the following file: