QuadraturePointMarker.C File Reference

Go to the source code of this file.


InputParameters validParams< QuadraturePointMarker > ()

Function Documentation

Definition at line 24 of file QuadraturePointMarker.C.

25 {
28  MooseEnum third_state("DONT_MARK=-1 COARSEN DO_NOTHING REFINE", "DONT_MARK");
29  params.addParam<MooseEnum>(
30  "third_state",
31  third_state,
32  "The Marker state to apply to values falling in-between the coarsen and refine thresholds.");
33  params.addParam<Real>("coarsen",
34  "The threshold value for coarsening. Elements with variable "
35  "values beyond this will be marked for coarsening.");
36  params.addParam<Real>("refine",
37  "The threshold value for refinement. Elements with variable "
38  "values beyond this will be marked for refinement.");
39  params.addParam<bool>("invert",
40  false,
41  "If this is true then values _below_ 'refine' will be "
42  "refined and _above_ 'coarsen' will be coarsened.");
43  params.addRequiredParam<VariableName>("variable",
44  "The values of this variable will be compared "
45  "to 'refine' and 'coarsen' to see what should "
46  "be done with the element");
47  return params;
48 }
InputParameters validParams< MaterialPropertyInterface >()
InputParameters validParams< Marker >()
Definition: Marker.C:25
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Definition: MooseEnum.h:37