Classes | |
| class | ConvergenceIterationTypeRegistry |
| Registry for Convergence iteration types. More... | |
| class | ExecFlagRegistry |
| Registry for statically defining execute flags with consistent numbering. More... | |
| class | PerfGraphRegistry |
| The place where all timed sections will be stored. More... | |
| class | PerfGraphSectionInfo |
| Used to hold metadata about the registered sections Note: this is a class instead of a struct because structs are not able to be created in place using emplace_back in C++11. More... | |
| struct | SoltionInvalidityNameHash |
| Helper class that hash the name associated with an invalid solution. More... | |
| class | SolutionInvalidityInfo |
| Helper class that stores the info associated with an invalid solution. More... | |
| class | SolutionInvalidityName |
| Helper class that stores the name associated with an invalid solution. More... | |
| class | SolutionInvalidityRegistry |
| The place where all sections with solution invalid warnings will be stored. More... | |
Functions | |
| std::string | incompatVarMsg (MooseVariableFieldBase &var1, MooseVariableFieldBase &var2) |
| Builds and returns a string of the form: | |
| std::string | mooseMsgFmt (const std::string &msg, const std::string &title, const std::string &color) |
| Format a message for output with a title. | |
| std::string | mooseMsgFmt (const std::string &msg, const std::string &color) |
| Format a message for output without a title. | |
| void | mooseErrorRaw (std::string msg, const std::string &prefix="", const hit::Node *node=nullptr, const bool show_trace=true) |
| Main callback for emitting a moose error. | |
| std::string | formatMooseDocumentedError (const std::string &repo_name, const unsigned int issue_num, const std::string &msg) |
| Formats a documented error. | |
| template<typename T1 , typename T2 > | |
| void | rawValueEqualityHelper (T1 &out, const T2 &in) |
| template<typename T1 , typename T2 > | |
| void | rawValueEqualityHelper (std::vector< T1 > &out, const std::vector< T2 > &in) |
| template<typename T1 , typename T2 , std::size_t N> | |
| void | rawValueEqualityHelper (std::array< T1, N > &out, const std::array< T2, N > &in) |
| PerfGraphRegistry & | getPerfGraphRegistry () |
| Get the global PerfGraphRegistry singleton. | |
| SolutionInvalidityRegistry & | getSolutionInvalidityRegistry () |
| Get the global SolutionInvalidityRegistry singleton. | |
| std::ostream & | operator<< (std::ostream &os, const SolutionInvalidityName &name) |
| bool | boundaryRestricted (const std::set< BoundaryID > &boundary_ids) |
| void | mooseStreamAll (std::ostringstream &ss) |
| All of the following are not meant to be called directly - they are called by the normal macros (mooseError(), etc.) down below. | |
| template<typename T , typename... Args> | |
| void | mooseStreamAll (std::ostringstream &ss, T &&val, Args &&... args) |
| template<typename S , typename... Args> | |
| void | mooseWarningStream (S &oss, Args &&... args) |
| template<typename S , typename... Args> | |
| void | mooseUnusedStream (S &oss, Args &&... args) |
| template<typename S , typename... Args> | |
| void | mooseInfoStreamRepeated (S &oss, Args &&... args) |
| template<typename S , typename... Args> | |
| void | mooseInfoStream (S &oss, Args &&... args) |
| template<typename S , typename... Args> | |
| void | mooseDeprecatedStream (S &oss, const bool expired, const bool print_title, const bool show_trace, Args &&... args) |
Variables | |
| libMesh::Threads::spin_mutex | moose_stream_lock |
| bool moose::internal::boundaryRestricted | ( | const std::set< BoundaryID > & | boundary_ids | ) |
Definition at line 46 of file MaterialPropertyInterface.C.
Referenced by MaterialPropertyInterface::getMaterialDataType().
|
private |
Formats a documented error.
A documented error is an error that has an issue associated with it.
The repository name repo_name links a named repository to a URL and should be registered at the application level with registerRepository(). See Moose.C for an example of the "moose" repository registration.
| repo_name | The repository name where the issue resides |
| issue_num | The number of the issue |
| msg | The specific error message |
Definition at line 142 of file MooseError.C.
Referenced by mooseDocumentedError(), and MooseBase::mooseDocumentedError().
| PerfGraphRegistry & moose::internal::getPerfGraphRegistry | ( | ) |
Get the global PerfGraphRegistry singleton.
So it can be constructed.
Definition at line 20 of file PerfGraphRegistry.C.
Referenced by PerfGraphReporter::finalize(), PerfGuard::PerfGuard(), PerfGraphInterface::registerTimedSection(), and PerfGraphInterface::registerTimedSection().
| SolutionInvalidityRegistry & moose::internal::getSolutionInvalidityRegistry | ( | ) |
Get the global SolutionInvalidityRegistry singleton.
So it can be constructed.
Definition at line 18 of file SolutionInvalidityRegistry.C.
Referenced by SolutionInvalidInterface::flagInvalidSolutionInternal(), SolutionInvalidInterface::registerInvalidSolutionInternal(), SolutionInvalidity::syncIteration(), and to_json().
|
private |
Builds and returns a string of the form:
[var1-elemtype],ORDER[var1-order] != [var2-elemtype],ORDER[var2-order]
This is a convenience function to be used when error messages (especially with paramError) need to report that variable types are incompatible (e.g. with residual save-in).
Definition at line 26 of file MooseError.C.
Referenced by ADDGKernel::ADDGKernel(), ADIntegratedBCTempl< T >::ADIntegratedBCTempl(), ADKernelTempl< T >::ADKernelTempl(), ArrayDGKernel::ArrayDGKernel(), ArrayIntegratedBC::ArrayIntegratedBC(), ArrayKernel::ArrayKernel(), DGKernel::DGKernel(), IntegratedBC::IntegratedBC(), Kernel::Kernel(), NodalBC::NodalBC(), NodalKernel::NodalKernel(), and MultiAppDofCopyTransfer::transfer().
|
private |
Definition at line 252 of file MooseError.h.
Referenced by Moose::Builder::build(), mooseDeprecated(), MooseBase::mooseDeprecated(), mooseDeprecatedNoTrace(), MooseBase::mooseDeprecatedNoTrace(), mooseDeprecationExpired(), and mooseDeprecationExpiredNoTrace().
|
private |
Main callback for emitting a moose error.
| msg | The error message |
| prefix | Optional prefix to add to every line of the error (for multiapp prefixes) |
| node | Optional HIT node to associate with the error, adding file path context |
| show_trace | Whether or not to show a stack trace, defaults to true |
Definition at line 53 of file MooseError.C.
Referenced by MooseBase::callMooseError(), mooseDocumentedError(), and mooseError().
|
private |
Definition at line 245 of file MooseError.h.
Referenced by mooseInfo(), and MooseBase::mooseInfo().
|
private |
Definition at line 232 of file MooseError.h.
Referenced by mooseInfoRepeated(), and mooseInfoStream().
|
private |
Format a message for output without a title.
| msg | The message to print |
| color | The color to print the message in |
Definition at line 45 of file MooseError.C.
|
private |
Format a message for output with a title.
| msg | The message to print |
| title | The title that will go on a line before the message |
| color | The color to print the message in |
Definition at line 37 of file MooseError.C.
Referenced by mooseDeprecatedStream(), mooseErrorRaw(), mooseInfoStreamRepeated(), mooseUnusedStream(), and mooseWarningStream().
|
private |
All of the following are not meant to be called directly - they are called by the normal macros (mooseError(), etc.) down below.
Definition at line 137 of file MooseError.C.
Referenced by mooseDeprecatedStream(), mooseDocumentedError(), mooseError(), InputParameters::mooseError(), mooseInfoStreamRepeated(), mooseStreamAll(), mooseUnusedStream(), mooseWarningStream(), InputParameters::paramError(), and InputParameters::paramMessage().
|
private |
Definition at line 189 of file MooseError.h.
|
private |
Definition at line 216 of file MooseError.h.
Referenced by mooseUnused().
|
private |
Definition at line 197 of file MooseError.h.
Referenced by mooseWarning(), MooseBase::mooseWarning(), and MooseBase::mooseWarningNonPrefixed().
| std::ostream & moose::internal::operator<< | ( | std::ostream & | os, |
| const SolutionInvalidityName & | name | ||
| ) |
Definition at line 45 of file SolutionInvalidityRegistry.C.
|
protected |
Definition at line 232 of file MaterialProperty.h.
|
protected |
Definition at line 223 of file MaterialProperty.h.
|
protected |
Definition at line 216 of file MaterialProperty.h.
Referenced by MaterialPropertyBase< T, is_ad >::qpCopy(), rawValueEqualityHelper(), rawValueEqualityHelper(), and MaterialPropertyBase< T, is_ad >::swap().
|
inlineprivate |
Definition at line 140 of file MooseError.h.
Referenced by mooseDeprecatedStream(), mooseErrorRaw(), mooseInfoStreamRepeated(), mooseUnusedStream(), and mooseWarningStream().