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);
|
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]
|
auto getFlux = [&calc, &rstrt]
|
||||||
(const Opm::ECLPhaseIndex p)
|
(const Opm::ECLPhaseIndex p)
|
||||||
|
@ -185,8 +185,7 @@ namespace Opm
|
|||||||
|
|
||||||
ECLFluxCalc::ECLFluxCalc(const ECLGraph& graph,
|
ECLFluxCalc::ECLFluxCalc(const ECLGraph& graph,
|
||||||
const ECLInitFileData& init,
|
const ECLInitFileData& init,
|
||||||
const double grav,
|
const double grav)
|
||||||
const bool /* useEPS */)
|
|
||||||
: graph_(graph)
|
: graph_(graph)
|
||||||
, satfunc_(graph, init)
|
, satfunc_(graph, init)
|
||||||
, rmap_(pvtnumVector(graph, init))
|
, rmap_(pvtnumVector(graph, init))
|
||||||
|
@ -56,8 +56,7 @@ namespace Opm
|
|||||||
/// result set.
|
/// result set.
|
||||||
ECLFluxCalc(const ECLGraph& graph,
|
ECLFluxCalc(const ECLGraph& graph,
|
||||||
const ECLInitFileData& init,
|
const ECLInitFileData& init,
|
||||||
const double grav,
|
const double grav);
|
||||||
const bool useEPS);
|
|
||||||
|
|
||||||
/// Retrive phase flux on all connections defined by \code
|
/// Retrive phase flux on all connections defined by \code
|
||||||
/// graph.neighbours() \endcode.
|
/// graph.neighbours() \endcode.
|
||||||
|
Loading…
Reference in New Issue
Block a user