25 #include "NamespaceHeader.H" 53 const int& a_direction,
69 const int& a_direction,
76 void setVal(
const T& value);
82 void setVal(
int ivar,
const T& value);
106 MayDay::Error(
"invalid constructor called for baseebcellfab");
164 const T& conval = (*this)(a_vof, a_ivar);
165 long roffset = (int)(&conval);
166 roffset -= (int)(&
m_data[0]);
171 const T*
dataPtr(
const int& a_comp)
const;
206 const Box& a_toBox)
const;
244 #include "NamespaceFooter.H" 246 #ifndef CH_EXPLICIT_TEMPLATES void linearIn(void *buf, const Box &R, const Interval &comps)
Definition: BaseIFFABI.H:588
int nComp() const
Definition: BaseIFFABI.H:417
T * dataPtr(const int &a_comp)
Definition: BaseIFFABI.H:456
static void setVerbose(bool a_verbose)
Definition: BaseIFFABI.H:66
int m_nComp
Definition: BaseIFFAB.H:223
int m_truesize
Definition: BaseIFFAB.H:222
An irregular domain on an integer lattice.
Definition: IntVectSet.H:44
int size(const Box &R, const Interval &comps) const
Definition: BaseIFFABI.H:492
bool m_isDefined
Definition: BaseIFFAB.H:231
one dimensional dynamic array
Definition: Vector.H:52
Definition: FaceIndex.H:28
void clear()
Definition: BaseIFFABI.H:381
void operator=(const BaseIFFAB< T > &)
Definition: BaseIFFAB.H:234
void setVal(const T &value)
Definition: BaseIFFABI.H:266
~BaseIFFAB()
Definition: BaseIFFABI.H:85
int getLocalVecIndex(const FaceIndex &a_face) const
Definition: BaseIFFABI.H:353
Geometric description within a box.
Definition: EBGraph.H:432
BaseIFFAB(const Box &a_region, int a_nVar)
invalid but necessary for leveldata to compile
Definition: BaseIFFAB.H:104
static Arena * s_Arena
Definition: BaseIFFAB.H:209
IntVectSet m_ivs
Definition: BaseIFFAB.H:229
Structure for passing component ranges in code.
Definition: Interval.H:23
bool isDefined() const
Definition: BaseIFFABI.H:403
static void setSurroundingNodeSemantic(bool a_useSurr)
Definition: BaseIFFABI.H:24
A Virtual Base Class for Dynamic Memory Managemen.
Definition: Arena.H:40
BaseIFFAB(const BaseIFFAB< T > &)
Definition: BaseIFFAB.H:238
int direction() const
Definition: BaseIFFABI.H:259
EBGraph m_ebgraph
Definition: BaseIFFAB.H:230
static void Error(const char *const a_msg=m_nullString, int m_exitCode=CH_DEFAULT_ERROR_CODE)
Print out message to cerr and exit with the specified exit code.
BaseFab< T * > m_fab
Definition: BaseIFFAB.H:228
Vector< T > m_data
Definition: BaseIFFAB.H:221
int m_direction
Definition: BaseIFFAB.H:225
bool useThisFace(const Box &a_toBox, const FaceIndex &a_face) const
Definition: BaseIFFABI.H:33
void setDefaultValues()
Definition: BaseIFFABI.H:481
static bool s_doSurroundingNodeSemantic
Definition: BaseIFFAB.H:219
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:465
long offset(const FaceIndex &a_vof, const int &a_ivar) const
for AggStencil
Definition: BaseIFFAB.H:162
Definition: BaseIFFAB.H:34
BaseIFFAB()
Definition: BaseIFFABI.H:79
int m_nFaces
Definition: BaseIFFAB.H:224
static bool s_verbose
Definition: BaseIFFAB.H:191
void linearOut(void *buf, const Box &R, const Interval &comps) const
Definition: BaseIFFABI.H:546
void copy(const Box &a_intBox, const Interval &a_destInterval, const Box &a_toBox, const BaseIFFAB< T > &a_src, const Interval &a_srcInterval)
Definition: BaseIFFABI.H:291
static int preAllocatable()
Definition: BaseIFFAB.H:175
T & operator()(const FaceIndex &a_face, const int &varlocin)
Definition: BaseIFFABI.H:424
void define(const IntVectSet &a_region, const EBGraph &a_ebgraph, const int &a_direction, const int &a_nvarin)
Definition: BaseIFFABI.H:105
void getBoxAndIVS(Box &a_intBox, IntVectSet &a_ivsIntersect, const Box &a_toBox) const
Definition: BaseIFFABI.H:48
T * getIndex(const FaceIndex &a_face, const int &a_comp) const
Definition: BaseIFFABI.H:340
int numFaces() const
Definition: BaseIFFABI.H:410
const EBGraph & getEBGraph() const
Definition: BaseIFFABI.H:73
const IntVectSet & getIVS() const
Definition: BaseIFFABI.H:252