23 #include "NamespaceHeader.H" 61 void setVal(
const T& value);
138 const T*
dataPtr(
const int& a_comp)
const;
144 T*
dataPtr(
const int& a_comp) ;
156 const int*
loVect()
const;
162 const int*
hiVect()
const;
227 return new IVSFAB<T>(ivsInter, a_ncomps);
239 m_sets[dit()] = a_sets[dit()];
270 #include "NamespaceFooter.H"
static void setVerbose(bool a_verbose)
Definition: IVSFABI.H:27
const int * hiVect() const
Definition: IVSFABI.H:394
An irregular domain on an integer lattice.
Definition: IntVectSet.H:44
void copy(const Box &a_fromBox, const Interval &a_destInterval, const Box &a_toBox, const IVSFAB< T > &a_src, const Interval &a_srcInterval)
Definition: IVSFABI.H:126
IVSFAB(const Box &a_region, int a_nVar)
invalid but necessary for leveldata to compile
Definition: IVSFAB.H:147
void define(const IntVectSet &a_region, const int &a_nvarin)
Definition: IVSFABI.H:61
IntVect m_loVect
Definition: IVSFAB.H:178
const int * loVect() const
Definition: IVSFABI.H:387
IntVectSet m_ivs
Definition: IVSFAB.H:188
IntVect m_hiVect
Definition: IVSFAB.H:179
virtual IVSFAB< T > * create(const Box &a_box, int a_ncomps, const DataIndex &a_dit) const
factory function.
Definition: IVSFAB.H:220
T * m_dataPtr
Definition: IVSFAB.H:175
void linearIn(void *buf, const Box &R, const Interval &comps)
Definition: IVSFABI.H:264
void linearOut(void *buf, const Box &R, const Interval &comps) const
Definition: IVSFABI.H:214
int getIndex(const IntVect &a_iv, const int &a_comp) const
Definition: IVSFABI.H:290
const BoxLayout & boxLayout() const
Definition: LayoutData.H:108
IVSFABFactory(const LayoutData< IntVectSet > &a_sets)
Definition: IVSFAB.H:234
virtual bool ok() const
return true if this iterator is still in its Layout
Definition: LayoutIterator.H:110
Definition: DataIterator.H:140
int m_nComp
Definition: IVSFAB.H:176
IVSFABFactory()
Definition: IVSFAB.H:259
void setVal(const T &value)
Definition: IVSFABI.H:117
bool m_isDefined
Definition: IVSFAB.H:189
int numIvs() const
Definition: IVSFABI.H:329
int size(const Box &R, const Interval &comps) const
Definition: IVSFABI.H:175
static bool s_verbose
Definition: IVSFAB.H:191
int m_nIvs
Definition: IVSFAB.H:177
Structure for passing component ranges in code.
Definition: Interval.H:23
void setDefaultValues()
Definition: IVSFABI.H:401
~IVSFAB()
Definition: IVSFABI.H:46
IVSFABFactory(const IVSFABFactory< T > &a_inputs)
Definition: IVSFAB.H:255
const IntVectSet & getIVS() const
Definition: IVSFABI.H:34
virtual ~IVSFABFactory()
Definition: IVSFAB.H:244
int nComp() const
Definition: IVSFABI.H:336
T & operator()(const IntVect &a_iv, const int &varlocin)
Definition: IVSFABI.H:343
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< int > m_ivmap
Definition: IVSFAB.H:187
bool isDefined() const
Definition: IVSFABI.H:322
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:465
Definition: DataIndex.H:112
IVSFAB< T > & operator=(const IVSFAB< T > &)
Definition: IVSFABI.H:413
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
Factory class to produce IVSFABs.
Definition: IVSFAB.H:205
Factory object to data members of a BoxLayoutData container.
Definition: BoxLayoutData.H:30
LayoutData< IntVectSet > m_sets
Definition: IVSFAB.H:252
void clear()
Definition: IVSFABI.H:306
static int preAllocatable()
Definition: IVSFAB.H:75
void operator=(const IVSFABFactory< T > &a_inputs)
Definition: IVSFAB.H:263
const T * dataPtr(const int &a_comp) const
Definition: IVSFABI.H:367
IVSFAB()
Definition: IVSFABI.H:40