Merge pull request #3895 from bska/FluxCalc-API-Cleanup

ECLFluxCalc: Remove Unused 'useEPS' Constructor Parameter
This commit is contained in:
Magne Sjaastad 2018-12-21 15:53:24 +01:00 committed by GitHub
commit f134cb06bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)

View File

@ -185,8 +185,7 @@ namespace Opm
ECLFluxCalc::ECLFluxCalc(const ECLGraph& graph,
const ECLInitFileData& init,
const double grav,
const bool /* useEPS */)
const double grav)
: graph_(graph)
, satfunc_(graph, init)
, rmap_(pvtnumVector(graph, init))

View File

@ -56,8 +56,7 @@ namespace Opm
/// result set.
ECLFluxCalc(const ECLGraph& graph,
const ECLInitFileData& init,
const double grav,
const bool useEPS);
const double grav);
/// Retrive phase flux on all connections defined by \code
/// graph.neighbours() \endcode.