Block-Structured AMR Software Framework
Loading...
Searching...
No Matches
amrex::ErrorRec Class Reference

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.
 
 ErrorRec (std::string nm, int ng, ErrorType etyp, const ErrorRec::ErrorFunc &f)
 
virtual ~ErrorRec ()
 
 ErrorRec (ErrorRec const &)=delete
 
 ErrorRec (ErrorRec &&)=delete
 
ErrorRecoperator= (ErrorRec const &)=delete
 
ErrorRecoperator= (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::ErrorFuncerrFunc () const
 The extern "C" functions to do the error tagging.
 
virtual const ErrorRec::ErrorFunc2errFunc2 () const
 

Detailed Description

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.

Member Enumeration Documentation

◆ ErrorType

Enumerator
Special 
Standard 
UseAverage 

Constructor & Destructor Documentation

◆ ErrorRec() [1/4]

amrex::ErrorRec::ErrorRec ( std::string  nm,
int  ng,
ErrorRec::ErrorType  etyp,
const ErrorRec::ErrorFunc2 f2 
)

The constructors.

Parameters
nm
ng
etyp
f2

◆ ErrorRec() [2/4]

amrex::ErrorRec::ErrorRec ( std::string  nm,
int  ng,
ErrorRec::ErrorType  etyp,
const ErrorRec::ErrorFunc f 
)

◆ ~ErrorRec()

amrex::ErrorRec::~ErrorRec ( )
virtual

◆ ErrorRec() [3/4]

amrex::ErrorRec::ErrorRec ( ErrorRec const &  )
delete

◆ ErrorRec() [4/4]

amrex::ErrorRec::ErrorRec ( ErrorRec &&  )
delete

Member Function Documentation

◆ errFunc()

const ErrorRec::ErrorFunc & amrex::ErrorRec::errFunc ( ) const
virtual

The extern "C" functions to do the error tagging.

◆ errFunc2()

const ErrorRec::ErrorFunc2 & amrex::ErrorRec::errFunc2 ( ) const
virtual

◆ errType()

ErrorRec::ErrorType amrex::ErrorRec::errType ( ) const
noexcept

The type of the error tagging.

◆ name()

const std::string & amrex::ErrorRec::name ( ) const
noexcept

The name of the quantity to derive.

◆ nGrow()

int amrex::ErrorRec::nGrow ( ) const
noexcept

The number of extra zones needed for derivation.

◆ operator=() [1/2]

ErrorRec & amrex::ErrorRec::operator= ( ErrorRec &&  )
delete

◆ operator=() [2/2]

ErrorRec & amrex::ErrorRec::operator= ( ErrorRec const &  )
delete

The documentation for this class was generated from the following files: