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:
Bård Skaflestad
2018-12-18 11:27:25 +01:00
parent a9c7773ef7
commit 6839c1cf77
3 changed files with 3 additions and 5 deletions

View File

@@ -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)