std::unique_ptr< MeshBase > generate() override
Generate / modify the mesh.
static InputParameters validParams()
SurfaceSubdomainsFromAllNormalsGenerator(const InputParameters ¶meters)
std::map< SubdomainID, Elem * > _subdomain_to_starting_elem
Map from subdomain IDs to a pointer to the element where the subdomain-paiting started.
void actOnElem(Elem *const elem, const Point &normal, const subdomain_id_type &sub_id, MeshBase &mesh) override
Action to perform when flooding.
std::map< SubdomainID, RealVectorValue > _subdomain_to_normal_map
Map from subdomain IDs to the normals of the corresponding boundaries.
This class will add subdomains to the entire mesh based on unique normals.
const bool _contiguous_assignments_only
Whether to only use the flood algorithm to group elements, without looking for the previously created...