20 #ifndef LIBMESH_MORTON_SFC_PARTITIONER_H 21 #define LIBMESH_MORTON_SFC_PARTITIONER_H 24 #include "libmesh/sfc_partitioner.h" 26 #include "libmesh/enum_partitioner_type.h" 71 virtual std::unique_ptr<Partitioner>
clone ()
const override 73 return std::make_unique<MortonSFCPartitioner>(*this);
82 const unsigned int n)
override 90 #endif // LIBMESH_MORTON_SFC_PARTITIONER_H virtual std::unique_ptr< Partitioner > clone() const override
virtual void _do_partition(MeshBase &mesh, const unsigned int n) override
Partition the MeshBase into n subdomains.
virtual void _do_partition(MeshBase &mesh, const unsigned int n) override
Partition the MeshBase into n subdomains.
The libMesh namespace provides an interface to certain functionality in the library.
This is the MeshBase class.
PartitionerType
Defines an enum for mesh partitioner types.
virtual ~MortonSFCPartitioner()=default
MortonSFCPartitioner & operator=(const MortonSFCPartitioner &)=default
The MortonSFCPartitioner uses a Morton space filling curve to partition the elements.
The SFCPartitioner uses a Hilbert or Morton-ordered space filling curve to partition the elements...
MortonSFCPartitioner()
Constructor.
void set_sfc_type(std::string sfc_type)
Sets the type of space-filling curve to use.
virtual PartitionerType type() const override