Go to the documentation of this file.
20 #ifndef LIBMESH_MORTON_SFC_PARTITIONER_H
21 #define LIBMESH_MORTON_SFC_PARTITIONER_H
24 #include "libmesh/sfc_partitioner.h"
62 virtual std::unique_ptr<Partitioner>
clone ()
const override
64 return libmesh_make_unique<MortonSFCPartitioner>(*
this);
73 const unsigned int n)
override
81 #endif // LIBMESH_MORTON_SFC_PARTITIONER_H
virtual std::unique_ptr< Partitioner > clone() const override
MortonSFCPartitioner & operator=(const MortonSFCPartitioner &)=default
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.
void set_sfc_type(const std::string &sfc_type)
Sets the type of space-filling curve to use.
MortonSFCPartitioner()
Constructor.
The SFCPartitioner uses a Hilbert or Morton-ordered space filling curve to partition the elements.
virtual ~MortonSFCPartitioner()=default
The MortonSFCPartitioner uses a Morton space filling curve to partition the elements.
virtual void _do_partition(MeshBase &mesh, const unsigned int n) override
Partition the MeshBase into n subdomains.