26 "Action for performing some common functions for running stochastic simulations.");
30 "Automatically setup the Mesh block for a master application without a simulation.");
32 "auto_create_problem",
34 "Automatically setup the Problem block for a master application without a simulation.");
36 "auto_create_executioner",
38 "Automatically setup the Executioner block for a master application without a simulation.");
48 if (
_current_task ==
"auto_create_mesh" && getParam<bool>(
"auto_create_mesh") &&
53 action_params.
set<std::string>(
"type") =
"GeneratedMesh";
65 params.set<
unsigned int>(
"nx") = 1;
72 else if (
_current_task ==
"auto_create_problem" && getParam<bool>(
"auto_create_problem"))
84 params.
set<
bool>(
"solve") =
false;
87 params.
set<
MooseEnum>(
"kernel_coverage_check") =
"false";
90 params.
set<
bool>(
"skip_nl_system_check") =
true;
108 params.set<
bool>(
"solve") =
false;
109 params.set<
MooseEnum>(
"kernel_coverage_check") =
"false";
110 params.set<
bool>(
"skip_nl_system_check") =
true;
119 getParam<bool>(
"auto_create_executioner") && !
_awh.
hasActions(
"setup_executioner"))
123 action_params.
set<std::string>(
"type") =
"Steady";
InputParameters getValidParams(const std::string &name)
void addActionBlock(std::shared_ptr< Action > blk)
const std::list< Action *> & getActionListByName(const std::string &task) const
std::shared_ptr< Action > create(const std::string &action, const std::string &action_name, InputParameters ¶meters)
static InputParameters validParams()
const std::string & _current_task
ActionFactory & _action_factory
bool hasActions(const std::string &task) const
void associateWithParameter(const std::string ¶m_name, InputParameters ¶ms) const