My Project
Loading...
Searching...
No Matches
Opm::ViscosityCallback< TypeTag > Class Template Reference

Callback class for the viscosity of a phase. 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

 ViscosityCallback (const ElementContext &elemCtx)
 
 ViscosityCallback (const ElementContext &elemCtx, unsigned phaseIdx)
 
void setPhaseIndex (unsigned phaseIdx)
 Set the index of the fluid phase for which the viscosity should be returned.
 
ResultType operator() (unsigned dofIdx) const
 Return the viscosity of a phase given the index of a degree of freedom within an element context.
 

Detailed Description

template<class TypeTag>
class Opm::ViscosityCallback< TypeTag >

Callback class for the viscosity of a phase.


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