14#include "libmesh/mesh_modification.h"
15#include "libmesh/unstructured_mesh.h"
25 "input",
"Input mesh to convert to use Rational Bernstein-Bezier mappings");
28 "Reinterpolates all elements in a mesh to use Rational Bernstein-Bezier mappings");
38std::unique_ptr<MeshBase>
42 std::unique_ptr<UnstructuredMesh>
mesh =
43 dynamic_pointer_cast<UnstructuredMesh>(std::move(
_input_ptr));
45 MeshTools::Modification::all_rbb(*
mesh);
51 mesh->clear_point_locator();
registerMooseObject("MooseApp", RBBMappingConverter)
MeshGenerators are objects that can modify or add to an existing mesh.
static InputParameters validParams()
Takes a mesh with a Lagrange mapping, and reinterpolate its nodes using a Rational Bezier-Bernstein m...
static InputParameters validParams()
std::unique_ptr< MeshBase > & _input_ptr
Input mesh defining the original mixed mesh.
RBBMappingConverter(const InputParameters ¶meters)
std::unique_ptr< MeshBase > generate() override
Generate / modify the mesh.