#4266 : flow diagnostics: Update related to API changes

This commit is contained in:
Magne Sjaastad
2019-04-01 11:11:30 +02:00
parent 1ac2429f62
commit 96a7f02abe
4 changed files with 6 additions and 4 deletions

View File

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

View File

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

View File

@@ -685,7 +685,7 @@ ECL::loadNNC(const ecl_grid_type* G,
auto nncData = std::vector<ecl_nnc_type>{};
const auto numNNC = make_szt(ecl_nnc_export_get_size(G));
const auto numNNC = make_szt(ecl_nnc_export_get_size(G, init));
if (numNNC > 0) {
nncData.resize(numNNC);