mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Merge pull request #3895 from bska/FluxCalc-API-Cleanup
ECLFluxCalc: Remove Unused 'useEPS' Constructor Parameter
This commit is contained in:
commit
f134cb06bd
@ -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)
|
||||
|
@ -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))
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user