www.mooseframework.org
Functions
SetAdaptivityOptionsAction.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< SetAdaptivityOptionsAction > ()
 

Function Documentation

Definition at line 22 of file SetAdaptivityOptionsAction.C.

23 {
25  params.addParam<MarkerName>("marker",
26  "The name of the Marker to use to actually adapt the mesh.");
27  params.addParam<unsigned int>(
28  "steps", 0, "The number of adaptive steps to use when doing a Steady simulation.");
29  params.addParam<unsigned int>(
30  "initial_steps", 0, "The number of adaptive steps to do based on the initial condition.");
31  params.addParam<MarkerName>(
32  "initial_marker",
33  "The name of the Marker to use to adapt the mesh during initial refinement.");
34  params.addParam<unsigned int>(
35  "max_h_level",
36  0,
37  "Maximum number of times a single element can be refined. If 0 then infinite.");
38  params.addParam<Real>("start_time",
39  -std::numeric_limits<Real>::max(),
40  "The time that adaptivity will be active after.");
41  params.addParam<Real>("stop_time",
42  std::numeric_limits<Real>::max(),
43  "The time after which adaptivity will no longer be active.");
44  params.addParam<unsigned int>(
45  "cycles_per_step",
46  1,
47  "The number of adaptive steps to use when on each timestep during a Transient simulation.");
48  params.addParam<bool>(
49  "recompute_markers_during_cycles", false, "Recompute markers during adaptivity cycles");
50  return params;
51 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
void addParam(const std::string &name, const S &value, const std::string &doc_string)
These methods add an option parameter and a documentation string to the InputParameters object...
InputParameters validParams< Action >()
Definition: Action.C:23