Ewoms::VelocityComponentCallback< TypeTag > Class Template Reference

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

#include <quantitycallbacks.hh>

Public Member Functions

 VelocityComponentCallback (const ElementContext &elemCtx)
 
 VelocityComponentCallback (const ElementContext &elemCtx, short dimIdx)
 
void setDimIndex (short dimIdx)
 Set the index of the component of the velocity which should be returned. More...
 
ResultType operator() (int dofIdx) const
 Return the velocity of a phase given the index of a degree of freedom within an element context. More...
 

Public Attributes

decltype(IntensiveQuantities().velocityCenter()[0])
typedef 
ResultType
 

Detailed Description

template<class TypeTag>
class Ewoms::VelocityComponentCallback< TypeTag >

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

Constructor & Destructor Documentation

template<class TypeTag>
Ewoms::VelocityComponentCallback< TypeTag >::VelocityComponentCallback ( const ElementContext &  elemCtx)
inline
template<class TypeTag>
Ewoms::VelocityComponentCallback< TypeTag >::VelocityComponentCallback ( const ElementContext &  elemCtx,
short  dimIdx 
)
inline

Member Function Documentation

template<class TypeTag>
ResultType Ewoms::VelocityComponentCallback< TypeTag >::operator() ( int  dofIdx) const
inline

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

template<class TypeTag>
void Ewoms::VelocityComponentCallback< TypeTag >::setDimIndex ( short  dimIdx)
inline

Set the index of the component of the velocity which should be returned.

Referenced by Ewoms::StokesExtensiveQuantities< TypeTag >::update().

Member Data Documentation

template<class TypeTag>
decltype(IntensiveQuantities().velocityCenter()[0]) typedef Ewoms::VelocityComponentCallback< TypeTag >::ResultType

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