mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
ECLFluxCalc: Remove Unused 'useEPS' Constructor Parameter
Recent developments have rendered this parameter unused. Remove it to make API simpler. The library now always loads arrays as if the caller requests end-point scaling behaviour and we defer effects of actual end-point scaling until client code queries the flux calculator at run time.
This commit is contained in:
@@ -110,7 +110,7 @@ namespace RigFlowDiagInterfaceTools {
|
||||
{
|
||||
auto satfunc = Opm::ECLSaturationFunc(G, init);
|
||||
|
||||
Opm::ECLFluxCalc calc(G, init, 9.80665, true);
|
||||
Opm::ECLFluxCalc calc(G, init, 9.80665);
|
||||
|
||||
auto getFlux = [&calc, &rstrt]
|
||||
(const Opm::ECLPhaseIndex p)
|
||||
|
||||
Reference in New Issue
Block a user