26 virtual std::unique_ptr<MeshBase>
generate()
override;
Removes the refinement tree of an h-refined input mesh, keeping only the finest (active) elements as ...
std::unique_ptr< MeshBase > & _input
The input mesh whose refinement will be flattened.
static InputParameters validParams()
virtual std::unique_ptr< MeshBase > generate() override
Generate / modify the mesh.
const bool _first_order
Whether to also convert the flattened mesh to first order.
MeshGenerators are objects that can modify or add to an existing mesh.
const InputParameters & parameters() const
Get the parameters of the object.