Opm::TemperatureCallback< TypeTag > Class Template Reference

Callback class for temperature. More...

#include <quantitycallbacks.hh>

Public Types

using ResultType = typename std::remove_const< typename std::remove_reference< ResultRawType >::type >::type
 
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. More...
 

Detailed Description

template<class TypeTag>
class Opm::TemperatureCallback< TypeTag >

Callback class for temperature.

Member Typedef Documentation

◆ ResultType

template<class TypeTag >
using Opm::TemperatureCallback< TypeTag >::ResultType = typename std::remove_const<typename std::remove_reference<ResultRawType>::type>::type

◆ ResultValueType

template<class TypeTag >
using Opm::TemperatureCallback< TypeTag >::ResultValueType = typename MathToolbox<ResultType>::ValueType

Constructor & Destructor Documentation

◆ TemperatureCallback()

template<class TypeTag >
Opm::TemperatureCallback< TypeTag >::TemperatureCallback ( const ElementContext &  elemCtx)
inline

Member Function Documentation

◆ operator()()

template<class TypeTag >
ResultType Opm::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: