Activate distributed standard wells.

We introduce a new parameter --enable-distributed-wells=<true|false>
for this. During startup we check that the model either only has
standard wells or that multisegement wells are actively interpreted
as standard wells (by way of passing --enable-multisegment-wells=false
as an option).
This commit is contained in:
Markus Blatt committed 2021-01-25 15:05:24 +01:00
1 parent 57d158bbbe
commit f464d93f15
3 files changed
+69 -2

No files matched your search

+3 -1
View File
@@ -175,6 +175,7 @@ public:
Dune::EdgeWeightMethod edgeWeightsMethod = this->edgeWeightsMethod();
bool ownersFirst = this->ownersFirst();
bool serialPartitioning = this->serialPartitioning();
bool enableDistributedWells = this->enableDistributedWells();
Scalar zoltanImbalanceTol = this->zoltanImbalanceTol();
// convert to transmissibility for faces
@@ -222,7 +223,8 @@ public:
PropsCentroidsDataHandle<Dune::CpGrid> handle(*grid_, eclState, eclGrid, this->centroids_,
cartesianIndexMapper());
this->parallelWells_ = std::get<1>(grid_->loadBalance(handle, edgeWeightsMethod, &wells, serialPartitioning,
faceTrans.data(), ownersFirst, false, 1, true, zoltanImbalanceTol));
faceTrans.data(), ownersFirst, false, 1, true, zoltanImbalanceTol,
enableDistributedWells));
}
catch(const std::bad_cast& e)
{