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 "ReporterDebugOutput.h" 11 : 12 : // MOOSE includes 13 : #include "FEProblemBase.h" 14 : 15 : registerMooseObject("MooseApp", ReporterDebugOutput); 16 : 17 : InputParameters 18 3083 : ReporterDebugOutput::validParams() 19 : { 20 3083 : InputParameters params = Output::validParams(); 21 6166 : params.addClassDescription("Debug output object for displaying Reporter information."); 22 3083 : params.set<ExecFlagEnum>("execute_on") = EXEC_INITIAL; 23 3083 : return params; 24 0 : } 25 : 26 11 : ReporterDebugOutput::ReporterDebugOutput(const InputParameters & parameters) : Output(parameters) {} 27 : 28 : void 29 9 : ReporterDebugOutput::output() 30 : { 31 9 : _console << "\nDeclared/requested Reporter Information:\n\n " 32 36 : << MooseUtils::replaceAll( 33 27 : _problem_ptr->getReporterData().getReporterInfo(), "\n", "\n ") 34 9 : << std::endl; 35 9 : }