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