13#include "libmesh/replicated_mesh.h"
32 std::unique_ptr<MeshBase>
generate()
override;
40 std::unique_ptr<MeshBase>
generate(std::vector<std::unique_ptr<ReplicatedMesh>> * input_meshes);
46 const std::vector<std::unique_ptr<MeshBase> *>
_mesh_ptrs;
49 const std::vector<std::vector<unsigned int>> &
_pattern;
60 const std::map<subdomain_id_type, std::string> & increment_subdomain_map);
MeshGenerators are objects that can modify or add to an existing mesh.
const InputParameters & parameters() const
Get the parameters of the object.
Reads one or more 2D mesh files and stitches them together based on a provided two-dimensional patter...
std::unique_ptr< MeshBase > generate() override
Generate / modify the mesh.
const std::vector< std::unique_ptr< MeshBase > * > _mesh_ptrs
Holds pointers to the meshes before they are generated.
const std::vector< std::vector< unsigned int > > & _pattern
The pattern, starting with the upper left corner.
static InputParameters validParams()
void mergeSubdomainNameMaps(std::map< subdomain_id_type, std::string > &main_subdomain_map, const std::map< subdomain_id_type, std::string > &increment_subdomain_map)
Merges the subdomain name maps between two meshes, throws an error if input maps contain shared subdo...
const std::vector< MeshGeneratorName > & _input_names
The mesh generators to read.