27#ifndef OPM_ECL_HYSTERESIS_CONFIG_HPP
28#define OPM_ECL_HYSTERESIS_CONFIG_HPP
48 { enableHysteresis_ = yesno; }
54 {
return enableHysteresis_; }
63 { pcHysteresisModel_ = value; }
72 {
return pcHysteresisModel_; }
74 bool enablePCHysteresis()
const
91 { krHysteresisModel_ = value; }
93 bool enableWettingHysteresis()
const
96 bool enableNonWettingHysteresis()
const
107 {
return krHysteresisModel_; }
115 {
return modParamTrapped_; }
123 {
return curvatureCapPrs_; }
129 {
return enableWagHyst_; }
137 void initFromState(
const Runspec& runspec);
142 bool enableHysteresis_{
false};
145 int pcHysteresisModel_{-1};
146 int krHysteresisModel_{-1};
147 double modParamTrapped_{};
148 double curvatureCapPrs_{};
151 bool enableWagHyst_{
false};
Specifies the configuration used by the ECL kr/pC hysteresis code.
Definition EclHysteresisConfig.hpp:42
int pcHysteresisModel() const
Return the type of the hysteresis model which is used for capillary pressure.
Definition EclHysteresisConfig.hpp:71
void setPcHysteresisModel(int value)
Set the type of the hysteresis model which is used for capillary pressure.
Definition EclHysteresisConfig.hpp:62
int krHysteresisModel() const
Return the type of the hysteresis model which is used for relative permeability.
Definition EclHysteresisConfig.hpp:106
double curvatureCapPrs() const
Curvature parameter used for capillary pressure hysteresis.
Definition EclHysteresisConfig.hpp:122
void setKrHysteresisModel(int value)
Set the type of the hysteresis model which is used for relative permeability.
Definition EclHysteresisConfig.hpp:90
bool enableWagHysteresis() const
Returns whether hysteresis is enabled.
Definition EclHysteresisConfig.hpp:128
void setEnableHysteresis(bool yesno)
Specify whether hysteresis is enabled or not.
Definition EclHysteresisConfig.hpp:47
bool enableHysteresis() const
Returns whether hysteresis is enabled.
Definition EclHysteresisConfig.hpp:53
double modParamTrapped() const
Regularisation parameter used for Killough model.
Definition EclHysteresisConfig.hpp:114
Definition Runspec.hpp:480
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30