20 #ifndef LIBMESH_HILBERT_SFC_PARTITIONER_H 21 #define LIBMESH_HILBERT_SFC_PARTITIONER_H 24 #include "libmesh/sfc_partitioner.h" 26 #include "libmesh/enum_partitioner_type.h" 69 virtual std::unique_ptr<Partitioner>
clone ()
const override 71 return std::make_unique<HilbertSFCPartitioner>(*this);
80 const unsigned int n)
override 88 #endif // LIBMESH_HILBERT_SFC_PARTITIONER_H The HilbertSFCPartitioner uses a Hilbert space filling curve to partition the elements.
virtual void _do_partition(MeshBase &mesh, const unsigned int n) override
Partition the MeshBase into n subdomains.
virtual PartitionerType type() const override
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.
HilbertSFCPartitioner & operator=(const HilbertSFCPartitioner &)=default
PartitionerType
Defines an enum for mesh partitioner types.
virtual ~HilbertSFCPartitioner()=default
The SFCPartitioner uses a Hilbert or Morton-ordered space filling curve to partition the elements...
void set_sfc_type(std::string sfc_type)
Sets the type of space-filling curve to use.
HilbertSFCPartitioner()
Constructor.
virtual std::unique_ptr< Partitioner > clone() const override