All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Opm::EclTwoPhaseMaterialParams< Traits, GasOilParamsT, OilWaterParamsT > Class Template Reference

Implementation for the parameters required by the material law for two-phase simulations. More...

#include <EclTwoPhaseMaterialParams.hpp>

Inheritance diagram for Opm::EclTwoPhaseMaterialParams< Traits, GasOilParamsT, OilWaterParamsT >:
Opm::EnsureFinalized

Public Types

typedef GasOilParamsT GasOilParams
 
typedef OilWaterParamsT OilWaterParams
 

Public Member Functions

 EclTwoPhaseMaterialParams ()
 The default constructor.
 
void setApproach (EclTwoPhaseApproach newApproach)
 
EclTwoPhaseApproach approach () const
 
const GasOilParams & gasOilParams () const
 The parameter object for the gas-oil twophase law.
 
GasOilParams & gasOilParams ()
 The parameter object for the gas-oil twophase law.
 
void setGasOilParams (std::shared_ptr< GasOilParams > val)
 Set the parameter object for the gas-oil twophase law.
 
const OilWaterParams & oilWaterParams () const
 The parameter object for the oil-water twophase law.
 
OilWaterParams & oilWaterParams ()
 The parameter object for the oil-water twophase law.
 
void setOilWaterParams (std::shared_ptr< OilWaterParams > val)
 Set the parameter object for the oil-water twophase law.
 
- 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 Traits, class GasOilParamsT, class OilWaterParamsT>
class Opm::EclTwoPhaseMaterialParams< Traits, GasOilParamsT, OilWaterParamsT >

Implementation for the parameters required by the material law for two-phase simulations.

Essentially, this class just stores the two parameter objects for the twophase capillary pressure laws.


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