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_; }
88 { krHysteresisModel_ = value; }
98 {
return krHysteresisModel_; }
106 {
return modParamTrapped_; }
114 {
return curvatureCapPrs_; }
120 {
return enableWagHyst_; }
128 void initFromState(
const Runspec& runspec);
133 bool enableHysteresis_{
false};
136 int pcHysteresisModel_{-1};
137 int krHysteresisModel_{-1};
138 double modParamTrapped_{};
139 double curvatureCapPrs_{};
142 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:97
double curvatureCapPrs() const
Curvature parameter used for capillary pressure hysteresis.
Definition EclHysteresisConfig.hpp:113
void setKrHysteresisModel(int value)
Set the type of the hysteresis model which is used for relative permeability.
Definition EclHysteresisConfig.hpp:87
bool enableWagHysteresis() const
Returns whether hysteresis is enabled.
Definition EclHysteresisConfig.hpp:119
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:105
Definition Runspec.hpp:481
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30