![]() |
Block-Structured AMR Software Framework
|
A List of ErrorRecs. More...
#include <AMReX_ErrorList.H>
Public Member Functions | |
| ErrorList () noexcept=default | |
| int | size () const noexcept |
| The number of ErrorRecs in the list. | |
| void | add (const std::string &name, int nextra, ErrorRec::ErrorType typ, const ErrorRec::ErrorFunc &func) |
| Append a new ErrorRec to the list. | |
| void | add (const std::string &name, int nextra, ErrorRec::ErrorType typ, const ErrorRec::ErrorFunc2 &func) |
| Overload that accepts ErrorFunc2 instead of ErrorFunc. | |
| const ErrorRec & | operator[] (int k) const noexcept |
| The kth ErrorRec. | |
| void | clear (bool rs0=false) |
A List of ErrorRecs.
Container class for ErrorRecs.
|
defaultnoexcept |
| void amrex::ErrorList::add | ( | const std::string & | name, |
| int | nextra, | ||
| ErrorRec::ErrorType | typ, | ||
| const ErrorRec::ErrorFunc & | func | ||
| ) |
Append a new ErrorRec to the list.
| name | Derived quantity name used for tagging. |
| nextra | Number of grow cells required by the functor. |
| typ | Tagging type (Special/Standard/UseAverage). |
| func | ErrorFunc functor describing tagging logic. |
| void amrex::ErrorList::add | ( | const std::string & | name, |
| int | nextra, | ||
| ErrorRec::ErrorType | typ, | ||
| const ErrorRec::ErrorFunc2 & | func | ||
| ) |
Overload that accepts ErrorFunc2 instead of ErrorFunc.
|
inline |
|
noexcept |
The number of ErrorRecs in the list.