24 std::unique_ptr<MeshBase>
generate()
override;
Assigns plane extra ID for existing 3D meshes.
const unsigned int _axis_index
index of plane axis
PlaneIDMeshGenerator(const InputParameters ¶meters)
std::unique_ptr< MeshBase > & _input
input mesh for adding reporting ID
const InputParameters & parameters() const
Get the parameters of the object.
static InputParameters validParams()
MeshGenerators are objects that can modify or add to an existing mesh.
std::vector< Real > _planes
coordinates of planes
const std::string _element_id_name
name of integer ID
int getPlaneID(const Point &p) const
get plane ID for given plane coordiantes
std::unique_ptr< MeshBase > generate() override
Generate / modify the mesh.