https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ReporterDebugOutput.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
10#include "ReporterDebugOutput.h"
11
12// MOOSE includes
13#include "FEProblemBase.h"
14
16
19{
21 params.addClassDescription("Debug output object for displaying Reporter information.");
22 params.set<ExecFlagEnum>("execute_on") = EXEC_INITIAL;
23 return params;
24}
25
27
28void
30{
31 _console << "\nDeclared/requested Reporter Information:\n\n "
34 << std::endl;
35}
const ExecFlagType EXEC_INITIAL
Definition Moose.C:30
registerMooseObject("MooseApp", ReporterDebugOutput)
const ConsoleStream _console
An instance of helper class to write streams to the Console objects.
A MultiMooseEnum object to hold "execute_on" flags.
const ReporterData & getReporterData() const
Provides const access the ReporterData object.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
void addClassDescription(const std::string &doc_string)
This method adds a description of the class that will be displayed in the input file syntax dump.
T & set(const std::string &name, bool quiet_mode=false)
Returns a writable reference to the named parameters.
Based class for output objects.
Definition Output.h:52
FEProblemBase * _problem_ptr
Pointer the the FEProblemBase object for output object (use this)
Definition Output.h:185
static InputParameters validParams()
Definition Output.C:32
static std::string getReporterInfo(const ReporterStateBase &state, const ReporterContextBase *context)
Gets information pertaining to the Reporter with state state and possibly context context.
Produces debug output for displaying Reporter information.
void output() override
Overload this function with the desired output activities.
static InputParameters validParams()
ReporterDebugOutput(const InputParameters &parameters)
std::string replaceAll(std::string str, const std::string &from, const std::string &to)
Definition MooseUtils.C:156