27 #ifndef OPM_ECL_EPS_CONFIG_HPP 28 #define OPM_ECL_EPS_CONFIG_HPP 30 #include <opm/common/utility/gpuDecorators.hpp> 62 { enableSatScaling_ = yesno; }
68 {
return enableSatScaling_; }
75 { enableThreePointKrSatScaling_ = yesno; }
82 {
return enableThreePointKrSatScaling_; }
88 { enableKrwScaling_ = yesno; }
94 {
return enableKrwScaling_; }
101 { this->enableThreePointKrwScaling_ = enable; }
108 {
return this->enableThreePointKrwScaling_; }
115 { this->enableThreePointKrnScaling_ = enable; }
122 {
return this->enableThreePointKrnScaling_; }
128 { enableKrnScaling_ = yesno; }
134 {
return enableKrnScaling_; }
140 { enablePcScaling_ = yesno; }
146 {
return enablePcScaling_; }
156 { enableLeverettScaling_ = yesno; }
166 {
return enableLeverettScaling_; }
175 const std::string& prefix =
"",
176 const std::string& suffix =
"");
180 bool enableSatScaling_{
false};
187 bool enableThreePointKrSatScaling_{
false};
191 bool enablePcScaling_{
false};
192 bool enableLeverettScaling_{
false};
193 bool enableKrwScaling_{
false};
194 bool enableKrnScaling_{
false};
197 bool enableThreePointKrwScaling_{
false};
200 bool enableThreePointKrnScaling_{
false};
OPM_HOST_DEVICE bool enableKrnScaling() const
Returns whether relative permeability scaling is enabled for the non-wetting phase.
Definition: EclEpsConfig.hpp:133
OPM_HOST_DEVICE bool enablePcScaling() const
Returns whether capillary pressure scaling is enabled.
Definition: EclEpsConfig.hpp:145
OPM_HOST_DEVICE bool enableThreePointKrSatScaling() const
Returns whether three point saturation scaling is enabled for the relative permeabilities.
Definition: EclEpsConfig.hpp:81
OPM_HOST_DEVICE bool enableThreePointKrnScaling() const
Whether or not three-point relative permeability value scaling is enabled for the non-wetting phase (...
Definition: EclEpsConfig.hpp:121
EclTwoPhaseSystemType
Specified which fluids are involved in a given twophase material law for endpoint scaling...
Definition: EclEpsConfig.hpp:42
OPM_HOST_DEVICE bool enableKrwScaling() const
Returns whether relative permeability scaling is enabled for the wetting phase.
Definition: EclEpsConfig.hpp:93
void initFromState(const EclipseState &eclState, EclTwoPhaseSystemType twoPhaseSystemType, const std::string &prefix="", const std::string &suffix="")
Reads all relevant material parameters form a cell of a parsed ECL deck.
Definition: EclEpsConfig.cpp:38
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition: Exceptions.hpp:30
Specifies the configuration used by the endpoint scaling code.
Definition: EclEpsConfig.hpp:55
void setEnableKrnScaling(bool yesno)
Specify whether relative permeability scaling is enabled for the non-wetting phase.
Definition: EclEpsConfig.hpp:127
OPM_HOST_DEVICE bool enableThreePointKrwScaling() const
Whether or not three-point relative permeability value scaling is enabled for the wetting phase (KRWR...
Definition: EclEpsConfig.hpp:107
void setEnableKrwScaling(bool yesno)
Specify whether relative permeability scaling is enabled for the wetting phase.
Definition: EclEpsConfig.hpp:87
void setEnableThreePointKrnScaling(const bool enable)
Specify whether three-point relative permeability value scaling is enabled for the wetting phase (e...
Definition: EclEpsConfig.hpp:114
Definition: EclipseState.hpp:66
void setEnableSatScaling(bool yesno)
Specify whether saturation scaling is enabled.
Definition: EclEpsConfig.hpp:61
OPM_HOST_DEVICE bool enableLeverettScaling() const
Returns whether the Leverett capillary pressure scaling is enabled.
Definition: EclEpsConfig.hpp:165
OPM_HOST_DEVICE bool enableSatScaling() const
Returns whether saturation scaling is enabled.
Definition: EclEpsConfig.hpp:67
void setEnableThreePointKrSatScaling(bool yesno)
Specify whether three point saturation scaling is enabled for the relative permeabilities.
Definition: EclEpsConfig.hpp:74
void setEnableLeverettScaling(bool yesno)
Specify whether the Leverett capillary pressure scaling is enabled.
Definition: EclEpsConfig.hpp:155
void setEnablePcScaling(bool yesno)
Specify whether capillary pressure scaling is enabled.
Definition: EclEpsConfig.hpp:139
void setEnableThreePointKrwScaling(const bool enable)
Specify whether three-point relative permeability value scaling is enabled for the wetting phase (KRW...
Definition: EclEpsConfig.hpp:100