mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-18 21:43:27 -06:00
Changed default for relperm to not set.
This commit is contained in:
parent
ace7ebeed9
commit
ccbc1d83d5
@ -113,9 +113,12 @@ namespace Opm
|
||||
THROW("SaturationPropsBasic::init() illegal num_phases: " << num_phases);
|
||||
}
|
||||
num_phases_ = num_phases;
|
||||
std::string rpf = param.getDefault("relperm_func", std::string("Linear"));
|
||||
std::string rpf = param.getDefault("relperm_func", std::string("Unset"));
|
||||
if (rpf == "Constant") {
|
||||
relperm_func_ = Constant;
|
||||
if(num_phases!=1){
|
||||
THROW("Constant relperm with more than one phase???");
|
||||
}
|
||||
} else if (rpf == "Linear") {
|
||||
relperm_func_ = Linear;
|
||||
} else if (rpf == "Quadratic") {
|
||||
|
Loading…
Reference in New Issue
Block a user