22 params.
addParam<std::string>(
"type",
"FEProblem",
"Problem type");
23 params.
addParam<std::string>(
"name",
"MOOSE Problem",
"The name the problem");
41 mooseError(
"Trying to build a problem but problem has already existed");
CreateProblemAction(const InputParameters ¶meters)
bool & useNonlinear()
Returns a writable Boolean indicating whether this app will use a Nonlinear or Eigen System...
virtual void act() override
Method to add objects to the simulation or perform other setup tasks.
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)
Build an object (must be registered) - THIS METHOD IS DEPRECATED (Use create<T>()) ...
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
Factory & _factory
The Factory associated with the MooseApp.
MooseMesh wraps a libMesh::Mesh object and enhances its capabilities by caching additional data and s...
MooseApp & _app
The MOOSE application this is associated with.
registerMooseAction("MooseApp", CreateProblemAction, "create_problem")
std::shared_ptr< MooseMesh > & _mesh
std::string _type
The Object type that is being created.
InputParameters _moose_object_pars
The parameters for the object to be created.
static InputParameters validParams()
void mooseError(Args &&... args) const
Emits an error prefixed with object name and type.
const InputParameters & _pars
Parameters of this object, references the InputParameters stored in the InputParametersWarehouse.
std::shared_ptr< FEProblemBase > & _problem
Convenience reference to a problem this action works on.