Go to the documentation of this file.
20 #ifndef LIBMESH_HILBERT_SFC_PARTITIONER_H
21 #define LIBMESH_HILBERT_SFC_PARTITIONER_H
24 #include "libmesh/sfc_partitioner.h"
62 virtual std::unique_ptr<Partitioner>
clone ()
const override
64 return libmesh_make_unique<HilbertSFCPartitioner>(*
this);
73 const unsigned int n)
override
81 #endif // LIBMESH_HILBERT_SFC_PARTITIONER_H
virtual void _do_partition(MeshBase &mesh, const unsigned int n) override
Partition the MeshBase into n subdomains.
HilbertSFCPartitioner & operator=(const HilbertSFCPartitioner &)=default
The HilbertSFCPartitioner uses a Hilbert space filling curve to partition the elements.
The libMesh namespace provides an interface to certain functionality in the library.
HilbertSFCPartitioner()
Constructor.
This is the MeshBase class.
virtual std::unique_ptr< Partitioner > clone() const override
void set_sfc_type(const std::string &sfc_type)
Sets the type of space-filling curve to use.
The SFCPartitioner uses a Hilbert or Morton-ordered space filling curve to partition the elements.
virtual ~HilbertSFCPartitioner()=default
virtual void _do_partition(MeshBase &mesh, const unsigned int n) override
Partition the MeshBase into n subdomains.