42 std::shared_ptr<MoosePreconditioner> pc =
registerMooseAction("MooseApp", SetupPreconditionerAction, "add_preconditioning")
std::shared_ptr< FEProblemBase > & _problem
Convenience reference to a problem this action works on.
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)
const std::string & _name
The name of this class.
InputParameters _moose_object_pars
The parameters for the object to be created.
static InputParameters validParams()
std::string _type
The Object type that is being created.
Base class for MOOSE preconditioners.
NonlinearSystemBase & _nl
The nonlinear system whose linearization this preconditioner should be applied to.
void setPreconditioner(std::shared_ptr< MoosePreconditioner > pc)
Sets a preconditioner.
Factory & _factory
The Factory associated with the MooseApp.
Set the preconditioner up.
virtual void act() override
Method to add objects to the simulation or perform other setup tasks.
static InputParameters validParams()
SetupPreconditionerAction(const InputParameters ¶ms)
static unsigned int _count