Line data Source code
1 : //* This file is part of the MOOSE framework 2 : //* https://mooseframework.inl.gov 3 : //* 4 : //* All rights reserved, see COPYRIGHT for full restrictions 5 : //* https://github.com/idaholab/moose/blob/master/COPYRIGHT 6 : //* 7 : //* Licensed under LGPL 2.1, please see LICENSE for details 8 : //* https://www.gnu.org/licenses/lgpl-2.1.html 9 : 10 : #include "AddCorrectorAction.h" 11 : #include "FEProblem.h" 12 : 13 : registerMooseAction("MooseApp", AddCorrectorAction, "add_corrector"); 14 : 15 : InputParameters 16 203 : AddCorrectorAction::validParams() 17 : { 18 203 : InputParameters params = MooseObjectAction::validParams(); 19 203 : params.addClassDescription("Add a Corrector object to the simulation."); 20 203 : return params; 21 0 : } 22 : 23 0 : AddCorrectorAction::AddCorrectorAction(const InputParameters & params) : MooseObjectAction(params) 24 : { 25 0 : } 26 : 27 : void 28 0 : AddCorrectorAction::act() 29 : { 30 : // Correctors are user objects in the backend 31 0 : _problem->addUserObject(_type, _name, _moose_object_pars); 32 0 : }