20 "bottom_left",
"The bottom left point (in x,y,z with spaces in-between).");
22 "top_right",
"The bottom left point (in x,y,z with spaces in-between).");
27 "inside", marker_states,
"How to mark elements inside the box.");
29 "outside", marker_states,
"How to mark elements outside the box.");
32 "Marks the region inside and outside of a 'box' domain for refinement or coarsening.");
38 _inside(parameters.
get<
MooseEnum>(
"inside").getEnum<MarkerValue>()),
39 _outside(parameters.
get<
MooseEnum>(
"outside").getEnum<MarkerValue>()),
registerMooseObject("MooseApp", BoxMarker)
static InputParameters validParams()
T * get(const std::unique_ptr< T > &u)
The MooseUtils::get() specializations are used to support making forwards-compatible code changes fro...
BoundingBox _bounding_box
const Elem *const & _current_elem
MarkerValue
This mirrors the main refinement flag values in libMesh in Elem::RefinementState but adds "dont_mark"...
static MooseEnum markerStates()
Helper function for getting the valid refinement flag states a marker can use as a MooseEnum...
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
BoundingBox buildBoundingBox(const Point &p1, const Point &p2)
Construct a valid bounding box from 2 arbitrary points.
BoxMarker(const InputParameters ¶meters)
static InputParameters validParams()
virtual MarkerValue computeElementMarker() override