Go to the documentation of this file.
12 #include "libmesh/face_quad4.h"
13 #include "libmesh/face_tri3.h"
23 params.
set<
bool>(
"_mesh_generator_mesh") =
true;
25 params.
addParam<std::string>(
"final_generator",
26 "The name of the mesh generator output to use for the final Mesh");
36 std::unique_ptr<MooseMesh>
39 return libmesh_make_unique<MeshGeneratorMesh>(*
this);
void setFinalMeshGeneratorName(const std::string &generator_name)
Set final mesh generator name.
bool isParamValid(const std::string &name) const
Test if the supplied parameter is valid.
Mesh generated from parameters.
std::unique_ptr< MeshBase > getMeshGeneratorMesh(bool check_unique=true)
Get the generated mesh generated by executeMeshGenerators();.
registerMooseObject("MooseApp", MeshGeneratorMesh)
MeshGeneratorMesh(const InputParameters ¶meters)
virtual void buildMesh() override
Must be overridden by child classes.
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.
bool hasMeshBase() const
Whether mesh base object was constructed or not.
static InputParameters validParams()
MooseMesh wraps a libMesh::Mesh object and enhances its capabilities by caching additional data and s...
std::unique_ptr< libMesh::MeshBase > _mesh
Pointer to underlying libMesh mesh object.
MooseApp & _app
The MooseApp this object is associated with.
static InputParameters validParams()
Typical "Moose-style" constructor and copy constructor.
defineLegacyParams(MeshGeneratorMesh)