25 virtual std::unique_ptr<MeshBase>
generate()
override;
54 std::unique_ptr<MeshBase>
recursive_refine(
const std::vector<boundary_id_type> boundary_ids,
55 std::unique_ptr<MeshBase> & mesh,
56 const std::vector<int> refinement,
static InputParameters validParams()
MeshGenerator for refining one or more sidesets.
const std::vector< int > _refinement
The amount of times to refine each boundary, corresponding to their index in 'boundaries'.
auto max(const L &left, const R &right)
const bool _enable_neighbor_refinement
Toggles whether neighboring level one elements should be refined or not. Defaults to true...
std::unique_ptr< MeshBase > recursive_refine(const std::vector< boundary_id_type > boundary_ids, std::unique_ptr< MeshBase > &mesh, const std::vector< int > refinement, const int max, int ref_step=0)
The actual function refining the boundaries.
const MultiMooseEnum _boundary_side
Side(s) of the boundary/boundaries to be refined. Can be either "primary"(just the boundary elements)...
virtual std::unique_ptr< MeshBase > generate() override
Generate / modify the mesh.
const InputParameters & parameters() const
Get the parameters of the object.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type...
RefineSidesetGenerator(const InputParameters ¶meters)
MeshGenerators are objects that can modify or add to an existing mesh.
const std::vector< BoundaryName > _boundaries
List of boundarie(s) to refine.
std::unique_ptr< MeshBase > & _input
Input mesh to refine.