![]() |
Block-Structured AMR Software Framework
|
Error Record. More...
#include <AMReX_ErrorList.H>
Classes | |
| class | ErrorFunc |
| class | ErrorFunc2 |
Public Types | |
| enum | ErrorType { Special =0 , Standard , UseAverage } |
Public Member Functions | |
| ErrorRec (std::string nm, int ng, ErrorType etyp, const ErrorRec::ErrorFunc2 &f2) | |
| Construct an error record that uses the ErrorFunc2 interface. | |
| ErrorRec (std::string nm, int ng, ErrorType etyp, const ErrorRec::ErrorFunc &f) | |
| Construct an error record that uses the ErrorFunc interface (same parameters as above). | |
| virtual | ~ErrorRec () |
| ErrorRec (ErrorRec const &)=delete | |
| ErrorRec (ErrorRec &&)=delete | |
| ErrorRec & | operator= (ErrorRec const &)=delete |
| ErrorRec & | operator= (ErrorRec &&)=delete |
| const std::string & | name () const noexcept |
| The name of the quantity to derive. | |
| int | nGrow () const noexcept |
| The number of extra zones needed for derivation. | |
| ErrorType | errType () const noexcept |
| The type of the error tagging. | |
| virtual const ErrorRec::ErrorFunc & | errFunc () const |
| The extern "C" functions to do the error tagging. | |
| virtual const ErrorRec::ErrorFunc2 & | errFunc2 () const |
Error Record.
ErrorRec is designed to tag cells for regridding based on the state data contained in AmrLevel and its derivatives. It is conceivable that actual error tagging will be through derivation, so provision is made for this as well.
| amrex::ErrorRec::ErrorRec | ( | std::string | nm, |
| int | ng, | ||
| ErrorType | etyp, | ||
| const ErrorRec::ErrorFunc2 & | f2 | ||
| ) |
Construct an error record that uses the ErrorFunc2 interface.
| nm | Derived quantity name used for tagging. |
| ng | Number of grow cells required by the tagging functor. |
| etyp | Error tagging type (Special/Standard/UseAverage). |
| f2 | Functor describing how to tag cells. |
| amrex::ErrorRec::ErrorRec | ( | std::string | nm, |
| int | ng, | ||
| ErrorType | etyp, | ||
| const ErrorRec::ErrorFunc & | f | ||
| ) |
Construct an error record that uses the ErrorFunc interface (same parameters as above).
|
virtual |
|
delete |
|
delete |
|
virtual |
The extern "C" functions to do the error tagging.
|
virtual |
|
noexcept |
The type of the error tagging.
|
noexcept |
The name of the quantity to derive.
|
noexcept |
The number of extra zones needed for derivation.