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");
38 std::unique_ptr<MeshBase>
42 std::unique_ptr<UnstructuredMesh>
mesh =
45 MeshTools::Modification::all_rbb(*
mesh);
51 mesh->clear_point_locator();
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 > & _input_ptr
Input mesh defining the original mixed mesh.
std::unique_ptr< MeshBase > generate() override
Generate / modify the mesh.
static InputParameters validParams()
RBBMappingConverter(const InputParameters ¶meters)
registerMooseObject("MooseApp", RBBMappingConverter)
Takes a mesh with a Lagrange mapping, and reinterpolate its nodes using a Rational Bezier-Bernstein m...
static InputParameters validParams()
MeshGenerators are objects that can modify or add to an existing mesh.