38 virtual std::unique_ptr<MooseMesh>
safeClone()
const override;
44 const std::vector<MeshFileName> &
_files;
47 const std::vector<std::vector<unsigned int>> &
_pattern;
53 std::vector<std::unique_ptr<ReplicatedMesh>>
_meshes;
std::vector< std::unique_ptr< ReplicatedMesh > > _meshes
virtual std::unique_ptr< MooseMesh > safeClone() const override
A safer version of the clone() method that hands back an allocated object wrapped in a smart pointer...
static InputParameters validParams()
PatternedMesh(const InputParameters ¶meters)
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...
const std::vector< MeshFileName > & _files
virtual ~PatternedMesh()=default
Reads one or more 2D mesh files and stitches them together based on a provided two-dimensional patter...
MooseMesh wraps a libMesh::Mesh object and enhances its capabilities by caching additional data and s...
const std::vector< std::vector< unsigned int > > & _pattern
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
std::vector< std::unique_ptr< ReplicatedMesh > > _row_meshes
ReplicatedMesh * _original_mesh
const InputParameters & parameters() const
Get the parameters of the object.
virtual void buildMesh() override
Must be overridden by child classes.