Opm::LinearMaterialParams< TraitsT > Class Template Reference

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

#include <LinearMaterialParams.hpp>

Inheritance diagram for Opm::LinearMaterialParams< TraitsT >:
Opm::EnsureFinalized

List of all members.

Public Types

typedef TraitsT Traits

Public Member Functions

 LinearMaterialParams ()
 The default constructor.
Scalar pcMinSat (unsigned phaseIdx) const
 Return the relative phase pressure at the minimum saturation of a phase.
void setPcMinSat (unsigned phaseIdx, Scalar val)
 Set the relative phase pressure at the minimum saturation of a phase.
Scalar pcMaxSat (unsigned phaseIdx) const
 Return the relative phase pressure at the maximum saturation of a phase.
void setPcMaxSat (unsigned phaseIdx, Scalar val)
 Set the relative phase pressure at the maximum saturation of a phase.

Detailed Description

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

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


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.


Member Function Documentation

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$.

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$.


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

Generated on 25 Mar 2018 by  doxygen 1.6.1