mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Address review comments.
This commit is contained in:
committed by
Tor Harald Sandve
parent
f618073492
commit
32b31a2606
@@ -258,6 +258,9 @@ inline InterpData findInterpData(const double& value_in, const std::vector<doubl
|
||||
}
|
||||
}
|
||||
|
||||
// Disallow extrapolation with higher factor than 3.0.
|
||||
// The factor 3.0 has been chosen because it works well
|
||||
// with certain testcases, and may not be optimal.
|
||||
if (retval.factor_ > 3.0) {
|
||||
retval.factor_ = 3.0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user