13 #include "libmesh/replicated_mesh.h" 28 std::unique_ptr<MeshBase>
generate()
override;
unsigned int _dim
dimensionality of the sidesets to partition
std::vector< BoundaryName > sidesetNameHelper(const std::string &base_name) const
returns the name of the _n_patches subdivisions derived from _sideset
Subdivides a sidesets into smaller patches each of which is going to be a new patch.
static InputParameters validParams()
dof_id_type _n_boundary_mesh_elems
number of elements of the boundary mesh
Elem * boundaryElementHelper(MeshBase &mesh, libMesh::ElemType type) const
std::unique_ptr< MeshBase > & _input
MooseEnum _partitioner_name
the name of the partitioner being used
const std::string & type() const
PatchSidesetGenerator(const InputParameters ¶meters)
const BoundaryName & _sideset_name
The sideset that will be subdivided.
subdomain_id_type _sideset
The sideset that will be subdivided.
unsigned int _n_patches
the number of patches that this sideset generator divides _sideset into
void checkPartitionAndCompress(MeshBase &mesh)
Checks partitions and makes sure every partition has at least one elem.
const InputParameters & parameters() const
void partition(MeshBase &mesh)
a function for implementing custom partitioning
std::unique_ptr< MeshBase > generate() override
unsigned int nPatches() const