All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Opm::PiecewiseLinearTwoPhaseMaterialParams< TraitsT > Class Template Reference

Specification of the material parameters for a two-phase material law which uses a table and piecewise constant interpolation. More...

#include <PiecewiseLinearTwoPhaseMaterialParams.hpp>

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

Public Types

typedef std::vector< Scalar > ValueVector
 
typedef TraitsT Traits
 

Public Member Functions

void finalize ()
 Calculate all dependent quantities once the independent quantities of the parameter object have been set.
 
const ValueVector & SwKrwSamples () const
 Return the wetting-phase saturation values of all sampling points.
 
const ValueVector & SwKrnSamples () const
 Return the wetting-phase saturation values of all sampling points.
 
const ValueVector & SwPcwnSamples () const
 Return the wetting-phase saturation values of all sampling points.
 
const ValueVector & pcnwSamples () const
 Return the sampling points for the capillary pressure curve. More...
 
template<class Container >
void setPcnwSamples (const Container &SwValues, const Container &values)
 Set the sampling points for the capillary pressure curve. More...
 
const ValueVector & krwSamples () const
 Return the sampling points for the relative permeability curve of the wetting phase. More...
 
template<class Container >
void setKrwSamples (const Container &SwValues, const Container &values)
 Set the sampling points for the relative permeability curve of the wetting phase. More...
 
const ValueVector & krnSamples () const
 Return the sampling points for the relative permeability curve of the non-wetting phase. More...
 
template<class Container >
void setKrnSamples (const Container &SwValues, const Container &values)
 Set the sampling points for the relative permeability curve of the non-wetting phase. More...
 
- Public Member Functions inherited from Opm::EnsureFinalized
void finalize ()
 Mark the object as finalized.
 

Additional Inherited Members

- Protected Attributes inherited from Opm::EnsureFinalized
 __pad0__: finalized_( false ) { } void check() const { if( ! finalized_ ) { OPM_THROW(std::runtime_error
 The default constructor.
 
Parameter class has not been
finalized before 
usage
 

Detailed Description

template<class TraitsT>
class Opm::PiecewiseLinearTwoPhaseMaterialParams< TraitsT >

Specification of the material parameters for a two-phase material law which uses a table and piecewise constant interpolation.

Member Function Documentation

template<class TraitsT >
const ValueVector& Opm::PiecewiseLinearTwoPhaseMaterialParams< TraitsT >::krnSamples ( ) const
inline

Return the sampling points for the relative permeability curve of the non-wetting phase.

This curve is assumed to depend on the wetting phase saturation

template<class TraitsT >
const ValueVector& Opm::PiecewiseLinearTwoPhaseMaterialParams< TraitsT >::krwSamples ( ) const
inline

Return the sampling points for the relative permeability curve of the wetting phase.

This curve is assumed to depend on the wetting phase saturation

template<class TraitsT >
const ValueVector& Opm::PiecewiseLinearTwoPhaseMaterialParams< TraitsT >::pcnwSamples ( ) const
inline

Return the sampling points for the capillary pressure curve.

This curve is assumed to depend on the wetting phase saturation

template<class TraitsT >
template<class Container >
void Opm::PiecewiseLinearTwoPhaseMaterialParams< TraitsT >::setKrnSamples ( const Container &  SwValues,
const Container &  values 
)
inline

Set the sampling points for the relative permeability curve of the non-wetting phase.

This curve is assumed to depend on the wetting phase saturation

template<class TraitsT >
template<class Container >
void Opm::PiecewiseLinearTwoPhaseMaterialParams< TraitsT >::setKrwSamples ( const Container &  SwValues,
const Container &  values 
)
inline

Set the sampling points for the relative permeability curve of the wetting phase.

This curve is assumed to depend on the wetting phase saturation

template<class TraitsT >
template<class Container >
void Opm::PiecewiseLinearTwoPhaseMaterialParams< TraitsT >::setPcnwSamples ( const Container &  SwValues,
const Container &  values 
)
inline

Set the sampling points for the capillary pressure curve.

This curve is assumed to depend on the wetting phase saturation


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