Opm::LinearMaterialParams< TraitsT > Class Template Reference

Reference implementation of params for the linear M-phase material material. More...

#include <LinearMaterialParams.hpp>

Public Types

typedef TraitsT Traits
 

Public Member Functions

 LinearMaterialParams ()
 The default constructor. More...
 
void finalize ()
 Calculate all dependent quantities once the independent quantities of the parameter object have been set. More...
 
Scalar pcMinSat (unsigned phaseIdx) const
 Return the relative phase pressure at the minimum saturation of a phase. More...
 
void setPcMinSat (unsigned phaseIdx, Scalar val)
 Set the relative phase pressure at the minimum saturation of a phase. More...
 
Scalar pcMaxSat (unsigned phaseIdx) const
 Return the relative phase pressure at the maximum saturation of a phase. More...
 
void setPcMaxSat (unsigned phaseIdx, Scalar val)
 Set the relative phase pressure at the maximum saturation of a phase. More...
 

Detailed Description

template<class TraitsT>
class Opm::LinearMaterialParams< TraitsT >

Reference implementation of params for the linear M-phase material material.

Member Typedef Documentation

template<class TraitsT >
typedef TraitsT Opm::LinearMaterialParams< TraitsT >::Traits

Constructor & Destructor Documentation

template<class TraitsT >
Opm::LinearMaterialParams< TraitsT >::LinearMaterialParams ( )
inline

The default constructor.

We set the capillary pressure to zero, if not specified otherwise.

References Opm::LinearMaterialParams< TraitsT >::setPcMaxSat(), and Opm::LinearMaterialParams< TraitsT >::setPcMinSat().

Member Function Documentation

template<class TraitsT >
void Opm::LinearMaterialParams< TraitsT >::finalize ( )
inline

Calculate all dependent quantities once the independent quantities of the parameter object have been set.

template<class TraitsT >
Scalar Opm::LinearMaterialParams< TraitsT >::pcMaxSat ( unsigned  phaseIdx) const
inline

Return the relative phase pressure at the maximum saturation of a phase.

This means $p_{c\alpha}$ at $S_\alpha=1$.

template<class TraitsT >
Scalar Opm::LinearMaterialParams< TraitsT >::pcMinSat ( unsigned  phaseIdx) const
inline

Return the relative phase pressure at the minimum saturation of a phase.

This means $p_{c\alpha}$ at $S_\alpha=0$.

template<class TraitsT >
void Opm::LinearMaterialParams< TraitsT >::setPcMaxSat ( unsigned  phaseIdx,
Scalar  val 
)
inline

Set the relative phase pressure at the maximum saturation of a phase.

This means $p_{c\alpha}$ at $S_\alpha=1$.

Referenced by Opm::LinearMaterialParams< TraitsT >::LinearMaterialParams().

template<class TraitsT >
void Opm::LinearMaterialParams< TraitsT >::setPcMinSat ( unsigned  phaseIdx,
Scalar  val 
)
inline

Set the relative phase pressure at the minimum saturation of a phase.

This means $p_{c\alpha}$ at $S_\alpha=0$.

Referenced by Opm::LinearMaterialParams< TraitsT >::LinearMaterialParams().


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