14 #include "libmesh/mesh_modification.h"    15 #include "libmesh/unstructured_mesh.h"    24   params.
addRequiredParam<MeshGeneratorName>(
"input", 
"Input mesh to convert to all-simplex mesh");
    36 std::unique_ptr<MeshBase>
    40   std::unique_ptr<UnstructuredMesh> 
mesh =
    43   MeshTools::Modification::all_tri(*
mesh);
 registerMooseObject("MooseApp", ElementsToSimplicesConverter)
std::unique_ptr< MeshBase > & _input_ptr
Input mesh defining the original mixed mesh. 
std::unique_ptr< T_DEST, T_DELETER > dynamic_pointer_cast(std::unique_ptr< T_SRC, T_DELETER > &src)
These are reworked from https://stackoverflow.com/a/11003103. 
static InputParameters validParams()
ElementsToSimplicesConverter(const InputParameters ¶meters)
std::unique_ptr< MeshBase > generate() override
Generate / modify the mesh. 
static InputParameters validParams()
MeshGenerators are objects that can modify or add to an existing mesh. 
Takes a mesh with a mix of element types, and subdivides elements as needed to produce a mesh of the ...