Base class for partitioner implementations.
More...
#include <PartitionerBase.hpp>
Base class for partitioner implementations.
Definition at line 35 of file PartitionerBase.hpp.
◆ PartitionerBase()
◆ create()
Factory method for instantiating a partitioner based on parameters.
- Parameters
-
params | coarsening parameters |
- Returns
- owning pointer to the new partitioner object
◆ generate()
◆ setCoarseData()
virtual void geos::multiscale::PartitionerBase::setCoarseData |
( |
multiscale::MeshLevel & |
coarseMesh | ) |
const |
|
inlinevirtual |
Store auxiliary partitioning-related data on the coarse mesh.
- Parameters
-
coarseMesh | the coarse mesh |
This function can be used to transfer auxiliary data used by the partitioner implementation onto the coarse grid after it's been created based on the previously generated partition. For example, a Cartesian partitioner may need to assign Cartesian indices to newly generated coarse cells, so that it can be later applied to the coarse grid recursively.
- Note
- It is expected that the coarse mesh contains exactly as many cells as there are unique partition indices produced by generate().
Reimplemented in geos::multiscale::SemistructuredPartitioner, and geos::multiscale::CartesianPartitioner.
Definition at line 81 of file PartitionerBase.hpp.
The documentation for this class was generated from the following file: