virtual std::unique_ptr< Partitioner > clone() const override
The SubdomainPartitioner partitions the elements in "chunks" of user-specified subdomain ids...
std::vector< std::set< subdomain_id_type > > chunks
Each entry of "chunks" represents a set of subdomains which are to be partitioned together...
virtual ~SubdomainPartitioner()=default
virtual void _do_partition(MeshBase &mesh, const unsigned int n) override
Partition the MeshBase into n subdomains.
std::unique_ptr< Partitioner > & internal_partitioner()
Get a reference to the Partitioner used internally by the SubdomainPartitioner.
virtual PartitionerType type() const override
SubdomainPartitioner & operator=(const SubdomainPartitioner &)=delete
This class contains a unique_ptr member, so it can't be default copy assigned.
std::unique_ptr< Partitioner > _internal_partitioner
The internal Partitioner we use.