19 MooseEnum stateEnum(
"CURRENT=0 OLD=1 OLDER=2",
"CURRENT");
23 "This parameter is used to set old state solutions at the start of simulation. If specifying "
24 "multiple states at the start of simulation, use one IC object for each state being "
25 "specified. The states are CURRENT=0 OLD=1 OLDER=2. States older than 2 are not currently "
26 "supported. When the user only specifies current state, the solution is copied to the old "
27 "and older states, as expected. This functionality is mainly used for dynamic simulations "
28 "with explicit time integration schemes, where old solution states are used in the velocity "
29 "and acceleration approximations.");
35 : _my_state(parameters.get<
MooseEnum>(
"state"))
static InputParameters validParams()
virtual ~InitialConditionInterface()
InitialConditionInterface(const InputParameters ¶meters)
Constructor.
unsigned short getState() const
Retrieves the state of this initial condition.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...