GEOS
|
Simple structured partitioner for Cartesian grids. More...
#include <CartesianPartitioner.hpp>
Public Member Functions | |
virtual localIndex | generate (multiscale::MeshLevel const &mesh, arrayView1d< localIndex > const &partition) override |
Generate a partitioning of fine-scale mesh cells. More... | |
virtual void | setCoarseData (multiscale::MeshLevel &coarseMesh) const override |
Store auxiliary partitioning-related data on the coarse mesh. More... | |
PartitionerBase (LinearSolverParameters::Multiscale::Coarsening params) | |
Constructor. More... | |
![]() | |
PartitionerBase (LinearSolverParameters::Multiscale::Coarsening params) | |
Constructor. More... | |
virtual | ~PartitionerBase ()=default |
Destructor. | |
Additional Inherited Members | |
![]() | |
static std::unique_ptr< PartitionerBase > | create (LinearSolverParameters::Multiscale::Coarsening params) |
Factory method for instantiating a partitioner based on parameters. More... | |
![]() | |
LinearSolverParameters::Multiscale::Coarsening | m_params |
Coarsening parameters. | |
Simple structured partitioner for Cartesian grids.
Definition at line 32 of file CartesianPartitioner.hpp.
|
overridevirtual |
Generate a partitioning of fine-scale mesh cells.
mesh | the fine-scale mesh |
partition | the partition index output array (that must be properly sized) |
Implements geos::multiscale::PartitionerBase.
|
inlineexplicit |
Constructor.
params | coarsening parameters |
Definition at line 51 of file PartitionerBase.hpp.
|
overridevirtual |
Store auxiliary partitioning-related data on the coarse mesh.
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.
Reimplemented from geos::multiscale::PartitionerBase.