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.
std::unique_ptr< MeshBase > generate() override
Generate / modify the mesh.
MeshGenerator for assigning a subdomain ID to all elements.
registerMooseObject("MooseApp", SubdomainIDGenerator)
SubdomainID _subdomain_id
The subdomain ID to assign to every elemennt.
static InputParameters validParams()
std::unique_ptr< MeshBase > & _input
the input mesh, which may be output by another mesh generator
SubdomainIDGenerator(const InputParameters ¶meters)