Merge pull request #2947 from blattms/fix-parallel-well-red

Prepares for apply distributed standard wells.
This commit is contained in:
Atgeirr Flø Rasmussen
2020-12-04 20:32:30 +01:00
committed by GitHub
15 changed files with 1094 additions and 18 deletions

View File

@@ -416,6 +416,16 @@ public:
int outputInterval = EWOMS_GET_PARAM(TypeTag, int, EclOutputInterval);
if (outputInterval >= 0)
schedule().restart().overrideRestartWriteInterval(outputInterval);
// Initialize parallelWells with all local wells
const auto& schedule_wells = schedule().getWellsatEnd();
parallelWells_.reserve(schedule_wells.size());
for (const auto& well: schedule_wells)
{
parallelWells_.emplace_back(well.name(), true);
}
std::sort(parallelWells_.begin(), parallelWells_.end());
}
/*!