www.mooseframework.org
Classes | Functions
OrientedBoxMarker.h File Reference

Go to the source code of this file.

Classes

class  OrientedBoxMarker
 Creates a box of specified width, length and height, with its center at specified position, and with the direction along the width direction specified, and with the direction along the length direction specified. More...
 

Functions

template<>
InputParameters validParams< OrientedBoxMarker > ()
 Creates a box of specified width, length and height, with its center at specified position, and with the direction along the width direction specified, and with the direction along the length direction specified. More...
 

Function Documentation

Creates a box of specified width, length and height, with its center at specified position, and with the direction along the width direction specified, and with the direction along the length direction specified.

Then elements are marked as inside or outside this box

Definition at line 28 of file OrientedBoxMarker.C.

29 {
32 
33  MooseEnum marker_states = Marker::markerStates();
34 
35  params.addRequiredParam<MooseEnum>(
36  "inside", marker_states, "How to mark elements inside the box.");
37  params.addRequiredParam<MooseEnum>(
38  "outside", marker_states, "How to mark elements outside the box.");
39 
40  params.addClassDescription(
41  "Marks inside and outside a box that can have arbitrary orientation and center point.");
42  return params;
43 }
InputParameters validParams< Marker >()
Definition: Marker.C:25
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
static MooseEnum markerStates()
Helper function for getting the valid refinement flag states a marker can use as a MooseEnum...
Definition: Marker.C:72
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Definition: MooseEnum.h:37
InputParameters validParams< OrientedBoxInterface >()