Opm::SplineTwoPhaseMaterialParams< TraitsT > Class Template Reference

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

#include <SplineTwoPhaseMaterialParams.hpp>

Public Types

typedef std::vector< Scalar > SamplePoints
 
typedef Opm::Spline< Scalar > Spline
 
typedef Spline::SplineType SplineType
 
typedef TraitsT Traits
 

Public Member Functions

 SplineTwoPhaseMaterialParams ()
 
void finalize ()
 Calculate all dependent quantities once the independent quantities of the parameter object have been set. More...
 
const SplinepcnwSpline () const
 Return the sampling points for the capillary pressure curve. More...
 
void setPcnwSamples (const SamplePoints &SwSamplePoints, const SamplePoints &pcnwSamplePoints, SplineType splineType=Spline::Monotonic)
 Set the sampling points for the capillary pressure curve. More...
 
const SplinekrwSpline () const
 Return the sampling points for the relative permeability curve of the wetting phase. More...
 
void setKrwSamples (const SamplePoints &SwSamplePoints, const SamplePoints &krwSamplePoints, SplineType splineType=Spline::Monotonic)
 Set the sampling points for the relative permeability curve of the wetting phase. More...
 
const SplinekrnSpline () const
 Return the sampling points for the relative permeability curve of the non-wetting phase. More...
 
void setKrnSamples (const SamplePoints &SwSamplePoints, const SamplePoints &krnSamplePoints, SplineType splineType=Spline::Monotonic)
 Set the sampling points for the relative permeability curve of the non-wetting phase. More...
 

Detailed Description

template<class TraitsT>
class Opm::SplineTwoPhaseMaterialParams< TraitsT >

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

Member Typedef Documentation

template<class TraitsT >
typedef std::vector<Scalar> Opm::SplineTwoPhaseMaterialParams< TraitsT >::SamplePoints
template<class TraitsT >
typedef Opm::Spline<Scalar> Opm::SplineTwoPhaseMaterialParams< TraitsT >::Spline
template<class TraitsT >
typedef Spline::SplineType Opm::SplineTwoPhaseMaterialParams< TraitsT >::SplineType
template<class TraitsT >
typedef TraitsT Opm::SplineTwoPhaseMaterialParams< TraitsT >::Traits

Constructor & Destructor Documentation

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

Member Function Documentation

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

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

template<class TraitsT >
const Spline& Opm::SplineTwoPhaseMaterialParams< TraitsT >::krnSpline ( ) 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 Spline& Opm::SplineTwoPhaseMaterialParams< TraitsT >::krwSpline ( ) 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 Spline& Opm::SplineTwoPhaseMaterialParams< TraitsT >::pcnwSpline ( ) 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 >
void Opm::SplineTwoPhaseMaterialParams< TraitsT >::setKrnSamples ( const SamplePoints SwSamplePoints,
const SamplePoints krnSamplePoints,
SplineType  splineType = Spline::Monotonic 
)
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

References Opm::Spline< Scalar >::setXYContainers().

template<class TraitsT >
void Opm::SplineTwoPhaseMaterialParams< TraitsT >::setKrwSamples ( const SamplePoints SwSamplePoints,
const SamplePoints krwSamplePoints,
SplineType  splineType = Spline::Monotonic 
)
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

References Opm::Spline< Scalar >::setXYContainers().

template<class TraitsT >
void Opm::SplineTwoPhaseMaterialParams< TraitsT >::setPcnwSamples ( const SamplePoints SwSamplePoints,
const SamplePoints pcnwSamplePoints,
SplineType  splineType = Spline::Monotonic 
)
inline

Set the sampling points for the capillary pressure curve.

This curve is assumed to depend on the wetting phase saturation

References Opm::Spline< Scalar >::setXYContainers().


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