24 std::unique_ptr<MeshBase>
generate()
override;
std::unique_ptr< Elem > getElemType(const std::string &type)
Creates the base element of the given type.
const InputParameters & parameters() const
Get the parameters of the object.
std::unique_ptr< MeshBase > & _input
Mesh that possibly comes from another generator.
const std::vector< Point > & _nodal_positions
The nodal positions.
const MooseEnum & _elem_type
The type of element to build.
ElementGenerator(const InputParameters ¶meters)
std::unique_ptr< MeshBase > generate() override
Generate / modify the mesh.
Generates individual elements given a list of nodal positions.
const std::string & type() const
Get the type of this class.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
static InputParameters validParams()
const std::vector< std::vector< dof_id_type > > _element_connectivity
The connectivity of the elements to the nodes.
MeshGenerators are objects that can modify or add to an existing mesh.