mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-22 15:33:29 -06:00
Merge pull request #5749 from michal-toth/feature/graph-of-grid
Zoltan partitioner with all perforated cells of a well merged to one vertex
This commit is contained in:
commit
e24d355e66
@ -155,7 +155,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()));
|
||||
|
Loading…
Reference in New Issue
Block a user