All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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>

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

Public Types

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

Public Member Functions

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...
 
- 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::SplineTwoPhaseMaterialParams< TraitsT >

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

Member Function Documentation

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

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

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


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