mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4266 : flow diagnostics: Update related to API changes
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user