Opm::VelocityCallback< TypeTag > Class Template Reference

Callback class for the velocity of a phase at the center of a DOF. More...

#include <quantitycallbacks.hh>

Public Types

using ResultType = typename std::remove_const< typename std::remove_reference< ResultRawType >::type >::type
 
using ResultFieldType = typename ResultType::field_type
 
using ResultFieldValueType = typename MathToolbox< ResultFieldType >::ValueType
 

Public Member Functions

 VelocityCallback (const ElementContext &elemCtx)
 
ResultType operator() (unsigned dofIdx) const
 Return the velocity of a phase given the index of a degree of freedom within an element context. More...
 

Detailed Description

template<class TypeTag>
class Opm::VelocityCallback< TypeTag >

Callback class for the velocity of a phase at the center of a DOF.

Member Typedef Documentation

◆ ResultFieldType

template<class TypeTag >
using Opm::VelocityCallback< TypeTag >::ResultFieldType = typename ResultType::field_type

◆ ResultFieldValueType

template<class TypeTag >
using Opm::VelocityCallback< TypeTag >::ResultFieldValueType = typename MathToolbox<ResultFieldType>::ValueType

◆ ResultType

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

Constructor & Destructor Documentation

◆ VelocityCallback()

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

Member Function Documentation

◆ operator()()

template<class TypeTag >
ResultType Opm::VelocityCallback< TypeTag >::operator() ( unsigned  dofIdx) const
inline

Return the velocity of a phase given the index of a degree of freedom within an element context.


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