15 #include "libmesh/face_quad4.h" 16 #include "libmesh/face_tri3.h" 24 params.
set<
bool>(
"_mesh_generator_mesh") =
true;
26 params.
addParam<std::string>(
"final_generator",
27 "The name of the mesh generator output to use for the final Mesh");
29 "Set to make all dependencies of this mesh generator run in data " 30 "driven mode, where a mesh is not generated");
38 std::unique_ptr<MooseMesh>
static InputParameters validParams()
Typical "Moose-style" constructor and copy constructor.
std::unique_ptr< T > copyConstruct(const T &object)
Copy constructs the object object.
Factory & getFactory()
Retrieve a writable reference to the Factory associated with this App.
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...
MooseMesh wraps a libMesh::Mesh object and enhances its capabilities by caching additional data and s...
virtual void buildMesh() override
Must be overridden by child classes.
MooseApp & _app
The MOOSE application this is associated with.
MeshGeneratorMesh(const InputParameters ¶meters)
registerMooseObject("MooseApp", MeshGeneratorMesh)
Mesh generated from parameters.
bool hasMeshBase() const
Whether mesh base object was constructed or not.
static const std::string data_driven_generator_param
The name of the string parameter that sets the data driven generator.
void mooseError(Args &&... args) const
Emits an error prefixed with object name and type.
static InputParameters validParams()