www.mooseframework.org
MeshGeneratorMesh.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #include "MeshGeneratorMesh.h"
11 
12 #include "libmesh/face_quad4.h"
13 #include "libmesh/face_tri3.h"
14 
16 
17 template <>
20 {
22  return params;
23 }
24 
26 
27 std::unique_ptr<MooseMesh>
29 {
30  return libmesh_make_unique<MeshGeneratorMesh>(*this);
31 }
32 
33 void
35 {
37 }
InputParameters validParams< MeshGeneratorMesh >()
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
InputParameters validParams< MooseMesh >()
Definition: MooseMesh.C:63
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...
std::unique_ptr< MeshBase > getMeshGeneratorMesh()
Get the generated mesh generated by executeMeshGenerators();.
Definition: MooseApp.h:601
MooseMesh wraps a libMesh::Mesh object and enhances its capabilities by caching additional data and s...
Definition: MooseMesh.h:74
virtual void buildMesh() override
Must be overridden by child classes.
MeshGeneratorMesh(const InputParameters &parameters)
registerMooseObject("MooseApp", MeshGeneratorMesh)
Mesh generated from parameters.
std::unique_ptr< libMesh::MeshBase > _mesh
Pointer to underlying libMesh mesh object.
Definition: MooseMesh.h:869
MooseApp & _app
The MooseApp this object is associated with.
Definition: MooseObject.h:177