Block-Structured AMR Software Framework
amrex::ErrorRec::ErrorFunc Class Reference

#include <AMReX_ErrorList.H>

Public Member Functions

 ErrorFunc ()
 Bogus constructor. More...
 
 ErrorFunc (ErrorFuncDefault inFunc)
 A Constructor. More...
 
 ErrorFunc (ErrorFunc3DDefault inFunc)
 A Constructor. More...
 
virtual ErrorFuncclone () const
 Return a ptr to a clone of this object. It is the responsibility of the caller to delete the result. More...
 
virtual ~ErrorFunc ()=default
 Destructor. More...
 
 ErrorFunc (ErrorFunc const &)=default
 
 ErrorFunc (ErrorFunc &&)=delete
 
ErrorFuncoperator= (ErrorFunc const &)=default
 
ErrorFuncoperator= (ErrorFunc &&)=delete
 
virtual void operator() (int *tag, AMREX_ARLIM_P(tlo), AMREX_ARLIM_P(thi), const int *tagval, const int *clearval, Real *data, AMREX_ARLIM_P(data_lo), AMREX_ARLIM_P(data_hi), const int *lo, const int *hi, const int *nvar, const int *domain_lo, const int *domain_hi, const Real *dx, const Real *xlo, const Real *prob_lo, const Real *time, const int *level) const
 Tag cells using "regular" function. More...
 
virtual void operator() (int *tag, const int *tlo, const int *thi, const int *tagval, const int *clearval, Real *data, const int *dlo, const int *dhi, const int *lo, const int *hi, const int *nvar, const int *domain_lo, const int *domain_hi, const Real *dx, const Real *xlo, const Real *prob_lo, const Real *time, const int *level) const
 Tag cells using dimension-agnostic "regular" function. More...
 

Protected Attributes

ErrorFuncDefault m_func {nullptr}
 
ErrorFunc3DDefault m_func3D {nullptr}
 

Constructor & Destructor Documentation

◆ ErrorFunc() [1/5]

amrex::ErrorRec::ErrorFunc::ErrorFunc ( )
default

Bogus constructor.

◆ ErrorFunc() [2/5]

amrex::ErrorRec::ErrorFunc::ErrorFunc ( ErrorFuncDefault  inFunc)

A Constructor.

Parameters
inFunc

◆ ErrorFunc() [3/5]

amrex::ErrorRec::ErrorFunc::ErrorFunc ( ErrorFunc3DDefault  inFunc)

A Constructor.

Parameters
inFunc

◆ ~ErrorFunc()

virtual amrex::ErrorRec::ErrorFunc::~ErrorFunc ( )
virtualdefault

Destructor.

◆ ErrorFunc() [4/5]

amrex::ErrorRec::ErrorFunc::ErrorFunc ( ErrorFunc const &  )
default

◆ ErrorFunc() [5/5]

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

Member Function Documentation

◆ clone()

ErrorRec::ErrorFunc * amrex::ErrorRec::ErrorFunc::clone ( ) const
virtual

Return a ptr to a clone of this object. It is the responsibility of the caller to delete the result.

◆ operator()() [1/2]

virtual void amrex::ErrorRec::ErrorFunc::operator() ( int tag,
AMREX_ARLIM_P(tlo)  ,
AMREX_ARLIM_P(thi)  ,
const int tagval,
const int clearval,
Real *  data,
AMREX_ARLIM_P(data_lo)  ,
AMREX_ARLIM_P(data_hi)  ,
const int lo,
const int hi,
const int nvar,
const int domain_lo,
const int domain_hi,
const Real *  dx,
const Real *  xlo,
const Real *  prob_lo,
const Real *  time,
const int level 
) const
virtual

Tag cells using "regular" function.

Parameters
tag
tlo
thi
tagval
clearval
data
data_lo
data_hi
lo
hi
nvar
domain_lo
domain_hi
dx
xlo
prob_lo
time
level

◆ operator()() [2/2]

virtual void amrex::ErrorRec::ErrorFunc::operator() ( int tag,
const int tlo,
const int thi,
const int tagval,
const int clearval,
Real *  data,
const int dlo,
const int dhi,
const int lo,
const int hi,
const int nvar,
const int domain_lo,
const int domain_hi,
const Real *  dx,
const Real *  xlo,
const Real *  prob_lo,
const Real *  time,
const int level 
) const
virtual

Tag cells using dimension-agnostic "regular" function.

Parameters
tag
tlo
thi
tagval
clearval
data
data_lo
data_hi
lo
hi
nvar
domain_lo
domain_hi
dx
xlo
prob_lo
time
level

◆ operator=() [1/2]

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

◆ operator=() [2/2]

ErrorFunc& amrex::ErrorRec::ErrorFunc::operator= ( ErrorFunc const &  )
default

Member Data Documentation

◆ m_func

ErrorFuncDefault amrex::ErrorRec::ErrorFunc::m_func {nullptr}
protected

◆ m_func3D

ErrorFunc3DDefault amrex::ErrorRec::ErrorFunc::m_func3D {nullptr}
protected

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