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 "DeclareLateReportersAction.h" 11 : #include "MooseApp.h" 12 : #include "Reporter.h" 13 : 14 : registerMooseAction("MooseApp", DeclareLateReportersAction, "declare_late_reporters"); 15 : 16 : InputParameters 17 61934 : DeclareLateReportersAction::validParams() 18 : { 19 61934 : InputParameters params = Action::validParams(); 20 61934 : return params; 21 : } 22 : 23 61934 : DeclareLateReportersAction::DeclareLateReportersAction(const InputParameters & params) 24 61934 : : Action(params) 25 : { 26 61934 : } 27 : 28 : void 29 56605 : DeclareLateReportersAction::act() 30 : { 31 117199 : for (auto & reporter : _app.getInterfaceObjects<Reporter>()) 32 60594 : reporter->declareLateValues(); 33 56605 : }