Functions | |
std::string | indent (unsigned int spaces) |
Create empty string for indenting. More... | |
std::string | outputFrameworkInformation (const MooseApp &app) |
Outputs framework information. More... | |
std::string | outputMeshInformation (FEProblemBase &problem, bool verbose=true) |
Output the mesh information. More... | |
std::string | outputAuxiliarySystemInformation (FEProblemBase &problem) |
Output the Auxiliary system information. More... | |
std::string | outputNonlinearSystemInformation (FEProblemBase &problem, const unsigned int nl_sys_num) |
Output the Nonlinear system information. More... | |
std::string | outputRelationshipManagerInformation (const MooseApp &app) |
Output action RelationshipManager information. More... | |
std::string | outputExecutionInformation (const MooseApp &app, FEProblemBase &problem) |
Output execution information. More... | |
std::string | outputOutputInformation (MooseApp &app) |
Output the output information. More... | |
std::string | outputSystemInformationHelper (System &system) |
Output system information. More... | |
std::string | outputLegacyInformation (MooseApp &app) |
Output the legacy flag information. More... | |
void | insertNewline (std::stringstream &oss, std::streampos &begin, std::streampos &curr) |
Helper function function for stringstream formatting. More... | |
std::string | formatString (std::string message, const std::string &prefix) |
Add new lines and prefixes to a string for pretty display in output NOTE: This makes a copy of the string, on purpose, to be able to return a modified copy. More... | |
std::string | mooseObjectVectorToString (const std::vector< MooseObject *> &objs, const std::string &sep=" ") |
Routine to output the name of MooseObjects in a string. More... | |
std::string | outputSystemInformationHelper (std::stringstream &oss, System &system) |
Variables | |
static const unsigned int | console_field_width = 27 |
Width used for printing simulation information. More... | |
static const unsigned int | console_line_length = 100 |
Line length for printing simulation information. More... | |
std::string ConsoleUtils::formatString | ( | std::string | message, |
const std::string & | prefix | ||
) |
Add new lines and prefixes to a string for pretty display in output NOTE: This makes a copy of the string, on purpose, to be able to return a modified copy.
Definition at line 422 of file ConsoleUtils.C.
Referenced by MooseObjectWarehouseBase< Indicator >::activeObjectsToFormattedString(), SolutionUserObject::getLocalVarIndex(), NonlinearThread::printBlockExecutionInformation(), ComputeFVFluxThread< RangeType, AttribMatrixTags >::printBlockExecutionInformation(), ComputeElemAuxBcsThread< AuxKernelType >::printBoundaryExecutionInformation(), ComputeFVFluxThread< RangeType, AttribMatrixTags >::printBoundaryExecutionInformation(), ThreadedElementLoop< ConstElemPointerRange >::printExecutionOrdering(), and ComputeNodalUserObjectsThread::printGeneralExecutionInformation().
std::string ConsoleUtils::indent | ( | unsigned int | spaces | ) |
Create empty string for indenting.
Definition at line 31 of file ConsoleUtils.C.
Referenced by YAMLFormatter::addEnumOptionsAndDocs(), JsonInputFileFormatter::addLine(), JsonInputFileFormatter::addParameters(), FEProblemBase::checkDependMaterialsHelper(), ControllableItem::dump(), ControllableAlias::dump(), MessageFromInput::execute(), ControlOutput::outputActiveObjects(), ControlOutput::outputControls(), YAMLFormatter::preTraverse(), SyntaxTree::TreeNode::print(), InputFileFormatter::printBlockClose(), InputFileFormatter::printBlockOpen(), YAMLFormatter::printBlockOpen(), YAMLFormatter::printParams(), Executor::Result::str(), and Console::write().
void ConsoleUtils::insertNewline | ( | std::stringstream & | oss, |
std::streampos & | begin, | ||
std::streampos & | curr | ||
) |
Helper function function for stringstream formatting.
Definition at line 411 of file ConsoleUtils.C.
Referenced by formatString(), outputSystemInformationHelper(), and MaterialPropertyDebugOutput::printMaterialProperties().
std::string ConsoleUtils::mooseObjectVectorToString | ( | const std::vector< MooseObject *> & | objs, |
const std::string & | sep = " " |
||
) |
Routine to output the name of MooseObjects in a string.
objs | the vector with all the MooseObjects |
sep | a separator in between each object's name |
Definition at line 438 of file ConsoleUtils.C.
Referenced by ComputeFVFluxThread< RangeType, AttribMatrixTags >::printBlockExecutionInformation(), ComputeElemAuxBcsThread< AuxKernelType >::printBoundaryExecutionInformation(), ComputeFVFluxThread< RangeType, AttribMatrixTags >::printBoundaryExecutionInformation(), ThreadedElementLoop< ConstElemPointerRange >::printExecutionOrdering(), and ComputeNodalUserObjectsThread::printGeneralExecutionInformation().
std::string ConsoleUtils::outputAuxiliarySystemInformation | ( | FEProblemBase & | problem | ) |
Output the Auxiliary system information.
Definition at line 142 of file ConsoleUtils.C.
Referenced by Console::meshChanged(), and Console::outputSystemInformation().
std::string ConsoleUtils::outputExecutionInformation | ( | const MooseApp & | app, |
FEProblemBase & | problem | ||
) |
Output execution information.
Definition at line 316 of file ConsoleUtils.C.
Referenced by Console::outputSystemInformation().
std::string ConsoleUtils::outputFrameworkInformation | ( | const MooseApp & | app | ) |
Outputs framework information.
This includes the versions and timestamps
Definition at line 37 of file ConsoleUtils.C.
Referenced by Console::outputSystemInformation().
std::string ConsoleUtils::outputLegacyInformation | ( | MooseApp & | app | ) |
Output the legacy flag information.
Definition at line 390 of file ConsoleUtils.C.
Referenced by Console::outputSystemInformation().
std::string ConsoleUtils::outputMeshInformation | ( | FEProblemBase & | problem, |
bool | verbose = true |
||
) |
Output the mesh information.
Definition at line 55 of file ConsoleUtils.C.
Referenced by Console::meshChanged(), and Console::outputSystemInformation().
std::string ConsoleUtils::outputNonlinearSystemInformation | ( | FEProblemBase & | problem, |
const unsigned int | nl_sys_num | ||
) |
Output the Nonlinear system information.
Definition at line 279 of file ConsoleUtils.C.
Referenced by Console::meshChanged(), and Console::outputSystemInformation().
std::string ConsoleUtils::outputOutputInformation | ( | MooseApp & | app | ) |
Output the output information.
Definition at line 361 of file ConsoleUtils.C.
Referenced by Console::outputSystemInformation().
std::string ConsoleUtils::outputRelationshipManagerInformation | ( | const MooseApp & | app | ) |
Output action RelationshipManager information.
Definition at line 296 of file ConsoleUtils.C.
Referenced by Console::outputSystemInformation().
std::string ConsoleUtils::outputSystemInformationHelper | ( | System & | system | ) |
Output system information.
system | The libMesh system to output |
Definition at line 288 of file ConsoleUtils.C.
Referenced by outputAuxiliarySystemInformation(), and outputNonlinearSystemInformation().
std::string ConsoleUtils::outputSystemInformationHelper | ( | std::stringstream & | oss, |
System & | system | ||
) |
Definition at line 148 of file ConsoleUtils.C.
|
static |
Width used for printing simulation information.
Definition at line 30 of file ConsoleUtils.h.
Referenced by MessageFromInput::execute(), insertNewline(), MaterialPropertyDebugOutput::output(), ControlOutput::outputControls(), outputExecutionInformation(), outputFrameworkInformation(), outputMeshInformation(), outputOutputInformation(), outputRelationshipManagerInformation(), outputSystemInformationHelper(), MaterialPropertyDebugOutput::printMaterialMap(), and MaterialPropertyDebugOutput::printMaterialProperties().
|
static |
Line length for printing simulation information.
Definition at line 33 of file ConsoleUtils.h.
Referenced by insertNewline().