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