https://mooseframework.inl.gov
DeclareLateReportersAction.C
Go to the documentation of this file.
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 
11 #include "MooseApp.h"
12 #include "Reporter.h"
13 
14 registerMooseAction("MooseApp", DeclareLateReportersAction, "declare_late_reporters");
15 
18 {
20  return params;
21 }
22 
24  : Action(params)
25 {
26 }
27 
28 void
30 {
31  for (auto & reporter : _app.getInterfaceObjects<Reporter>())
32  reporter->declareLateValues();
33 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Reporter objects allow for the declaration of arbitrary data types that are aggregate values for a si...
Definition: Reporter.h:47
Base class for actions.
Definition: Action.h:33
registerMooseAction("MooseApp", DeclareLateReportersAction, "declare_late_reporters")
static InputParameters validParams()
Definition: Action.C:24
virtual void act() override
Method to add objects to the simulation or perform other setup tasks.
MooseApp & _app
The MOOSE application this is associated with.
Definition: MooseBase.h:84
DeclareLateReportersAction(const InputParameters &params)
static InputParameters validParams()
const std::vector< T * > & getInterfaceObjects() const
Gets the registered interface objects for a given interface.
Definition: MooseApp.h:1633