13 #include "libmesh/replicated_mesh.h" 26 std::unique_ptr<MeshBase>
generate()
override;
35 void copyIntoMesh(UnstructuredMesh & destination,
const UnstructuredMesh & source);
38 const std::vector<std::unique_ptr<MeshBase> *>
_meshes;
const bool _avoid_merging_boundaries
Boolean to control whether to prevent merging boundaries.
Collects multiple meshes into a single (unconnected) mesh.
void fillPositions()
Fill the offset positions for each mesh.
const bool _avoid_merging_subdomains
Boolean to control whether to prevent merging subdomains.
const std::vector< MeshGeneratorName > & _input_names
The mesh generators to use.
static InputParameters validParams()
void copyIntoMesh(UnstructuredMesh &destination, const UnstructuredMesh &source)
Helper funciton for copying one mesh into another.
std::vector< Point > _positions
The (offsets) positions for each mesh.
const std::vector< std::unique_ptr< MeshBase > * > _meshes
CombinerGenerator(const InputParameters ¶meters)
const InputParameters & parameters() const
Get the parameters of the object.
std::unique_ptr< MeshBase > generate() override
Generate / modify the mesh.
MeshGenerators are objects that can modify or add to an existing mesh.