MeshGenerator for defining a Subdomain inside or outside of a bounding box.
SubdomainBoundingBoxGenerator(const InputParameters ¶meters)
std::unique_ptr< MeshBase > generate() override
Generate / modify the mesh.
std::unique_ptr< MeshBase > & _input
subdomain_id_type _block_id
Block ID to assign to the region.
const bool _has_restriction
Whether or not we apply the bounding box only for certain subdomains.
static InputParameters validParams()
MooseEnum _location
ID location (inside of outside of box)
BoundingBox _bounding_box
Bounding box for testing element centroids against.