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) | |
The constructors. More... | |
ErrorRec (std::string nm, int ng, ErrorType etyp, const ErrorRec::ErrorFunc &f) | |
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. More... | |
int | nGrow () const noexcept |
The number of extra zones needed for derivation. More... | |
ErrorType | errType () const noexcept |
The type of the error tagging. More... | |
virtual const ErrorRec::ErrorFunc & | errFunc () const |
The extern "C" functions to do the error tagging. More... | |
virtual const ErrorRec::ErrorFunc2 & | errFunc2 () const |
Private Attributes | |
std::string | derive_name |
Name of quantity to derive. More... | |
int | ngrow |
Number of extra zones. More... | |
ErrorType | err_type |
The type of Error. More... | |
ErrorFunc * | err_func |
Functions to do error estimation. More... | |
ErrorFunc2 * | err_func2 |
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, | ||
ErrorRec::ErrorType | etyp, | ||
const ErrorRec::ErrorFunc2 & | f2 | ||
) |
The constructors.
nm | |
ng | |
etyp | |
f2 |
amrex::ErrorRec::ErrorRec | ( | std::string | nm, |
int | ng, | ||
ErrorRec::ErrorType | etyp, | ||
const ErrorRec::ErrorFunc & | f | ||
) |
|
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.
|
private |
Name of quantity to derive.
|
private |
Functions to do error estimation.
|
private |
|
private |
The type of Error.
|
private |
Number of extra zones.