21 params.
addClassDescription(
"Creates the input block that encopasses all the problem parameters");
23 params.
addParam<std::string>(
"name",
"SubChannel Problem",
"The name of the problem");
36 if (
_mesh.get() != NULL)
41 mooseError(
"Trying to build a problem but problem has already existed");
SubChannelCreateProblemAction(const InputParameters ¶meters)
Action that creates SubChannel problem.
static InputParameters validParams()
std::shared_ptr< MooseObject > create(const std::string &obj_name, const std::string &name, const InputParameters ¶meters, THREAD_ID tid=0, bool print_deprecated=true)
virtual void act() override
std::shared_ptr< MooseMesh > & _mesh
static InputParameters validParams()
InputParameters _moose_object_pars
void mooseError(Args &&... args) const
std::shared_ptr< FEProblemBase > & _problem
registerMooseAction("SubChannelApp", SubChannelCreateProblemAction, "create_problem")