All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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 Types

typedef std::remove_const
< typename
std::remove_reference
< ResultRawType >::type >
::type 
ResultType
 
typedef Opm::MathToolbox
< ResultType >::ValueType 
ResultValueType
 

Public Member Functions

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

Detailed Description

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

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


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