From cab7636fc5db86a318fd535c16c752d873b3611b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20T=C3=B3th?= Date: Tue, 19 Nov 2024 14:27:06 +0100 Subject: [PATCH] Setup parameters for Zoltan partitioner with GraphOfGrid (from opm-grid). --- opm/simulators/flow/GenericCpGridVanguard.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/opm/simulators/flow/GenericCpGridVanguard.cpp b/opm/simulators/flow/GenericCpGridVanguard.cpp index 3943fe3a9..876efce66 100644 --- a/opm/simulators/flow/GenericCpGridVanguard.cpp +++ b/opm/simulators/flow/GenericCpGridVanguard.cpp @@ -158,7 +158,8 @@ doLoadBalance_(const Dune::EdgeWeightMethod edgeWeightsMethod, FlowGenericVanguard::ParallelWellStruct& parallelWells, const int numJacobiBlocks) { - if (partitionMethod == Dune::PartitionMethod::zoltan && !this->zoltanParams().empty()) + if ((partitionMethod == Dune::PartitionMethod::zoltan + || partitionMethod == Dune::PartitionMethod::zoltanGoG) && !this->zoltanParams().empty()) this->grid_->setPartitioningParams(setupZoltanParams(this->zoltanParams())); if (partitionMethod == Dune::PartitionMethod::metis && !this->metisParams().empty()) this->grid_->setPartitioningParams(setupMetisParams(this->metisParams()));