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. | |
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. |
Reference implementation of params for the linear M-phase material material.
Opm::LinearMaterialParams< TraitsT >::LinearMaterialParams | ( | ) | [inline] |
The default constructor.
We set the capillary pressure to zero, if not specified otherwise.
Scalar Opm::LinearMaterialParams< TraitsT >::pcMaxSat | ( | unsigned | phaseIdx | ) | const [inline] |
Return the relative phase pressure at the maximum saturation of a phase.
This means at
.
Scalar Opm::LinearMaterialParams< TraitsT >::pcMinSat | ( | unsigned | phaseIdx | ) | const [inline] |
Return the relative phase pressure at the minimum saturation of a phase.
This means at
.
void Opm::LinearMaterialParams< TraitsT >::setPcMaxSat | ( | unsigned | phaseIdx, | |
Scalar | val | |||
) | [inline] |
Set the relative phase pressure at the maximum saturation of a phase.
This means at
.
void Opm::LinearMaterialParams< TraitsT >::setPcMinSat | ( | unsigned | phaseIdx, | |
Scalar | val | |||
) | [inline] |
Set the relative phase pressure at the minimum saturation of a phase.
This means at
.