Merge pull request #3620 from blattms/removeSetupCart-rebased

[refactor] Remove cartesianToCompressed Mapping from well model
This commit is contained in:
Bård Skaflestad
2021-10-25 16:43:08 +02:00
committed by GitHub
7 changed files with 85 additions and 73 deletions

View File

@@ -405,6 +405,10 @@ protected:
void runWellPIScaling(const int timeStepIdx,
DeferredLogger& local_deferredLogger);
/// \brief get compressed index for interior cells (-1, otherwise
virtual int compressedIndexForInterior(int cartesian_cell_idx) const = 0;
Schedule& schedule_;
const SummaryState& summaryState_;
const EclipseState& eclState_;
@@ -432,11 +436,6 @@ protected:
std::vector<WellProdIndexCalculator> prod_index_calc_;
// Map from logically cartesian cell indices to compressed ones.
// Cells not in the interior are not mapped. This deactivates
// these for distributed wells and makes the distribution non-overlapping.
std::vector<int> cartesian_to_compressed_;
std::vector<int> pvt_region_idx_;
mutable std::unordered_set<std::string> closed_this_step_;