23 #include "NamespaceHeader.H" 54 void setVal(
const T& value);
132 const T*
dataPtr(
const int& a_comp)
const;
138 T*
dataPtr(
const int& a_comp) ;
150 const int*
loVect()
const;
156 const int*
hiVect()
const;
166 const int& a_nvarin);
228 return new IVSFAB<T>(ivsInter, a_ncomps);
240 m_sets[dit()] = a_sets[dit()];
271 #include "NamespaceFooter.H"
static void setVerbose(bool a_verbose)
Definition: IVSFABI.H:26
const int * hiVect() const
Definition: IVSFABI.H:569
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:119
IVSFAB(const Box &a_region, int a_nVar)
invalid but necessary for leveldata to compile
Definition: IVSFAB.H:141
void define(const IntVectSet &a_region, const int &a_nvarin)
Definition: IVSFABI.H:60
IntVect m_loVect
Definition: IVSFAB.H:180
const int * loVect() const
Definition: IVSFABI.H:562
IntVectSet m_ivs
Definition: IVSFAB.H:190
IntVect m_hiVect
Definition: IVSFAB.H:181
virtual IVSFAB< T > * create(const Box &a_box, int a_ncomps, const DataIndex &a_dit) const
factory function.
Definition: IVSFAB.H:221
T * m_dataPtr
Definition: IVSFAB.H:177
void linearIn(void *buf, const Box &R, const Interval &comps)
Definition: IVSFABI.H:417
void linearOut(void *buf, const Box &R, const Interval &comps) const
Definition: IVSFABI.H:369
int getIndex(const IntVect &a_iv, const int &a_comp) const
Definition: IVSFABI.H:465
const BoxLayout & boxLayout() const
Definition: LayoutData.H:107
IVSFABFactory(const LayoutData< IntVectSet > &a_sets)
Definition: IVSFAB.H:235
virtual bool ok() const
return true if this iterator is still in its Layout
Definition: LayoutIterator.H:117
Definition: DataIterator.H:190
int m_nComp
Definition: IVSFAB.H:178
IVSFABFactory()
Definition: IVSFAB.H:260
void setVal(const T &value)
Definition: IVSFABI.H:110
bool m_isDefined
Definition: IVSFAB.H:191
int numIvs() const
Definition: IVSFABI.H:504
int size(const Box &R, const Interval &comps) const
Definition: IVSFABI.H:344
static bool s_verbose
Definition: IVSFAB.H:193
IVSFAB< T > & operator=(const IVSFAB< T > &)
int m_nIvs
Definition: IVSFAB.H:179
Structure for passing component ranges in code.
Definition: Interval.H:23
~IVSFAB()
Definition: IVSFABI.H:45
IVSFABFactory(const IVSFABFactory< T > &a_inputs)
Definition: IVSFAB.H:256
const IntVectSet & getIVS() const
Definition: IVSFABI.H:33
virtual ~IVSFABFactory()
Definition: IVSFAB.H:245
int nComp() const
Definition: IVSFABI.H:511
T & operator()(const IntVect &a_iv, const int &varlocin)
Definition: IVSFABI.H:518
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:189
bool isDefined() const
Definition: IVSFABI.H:497
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:465
Definition: DataIndex.H:112
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
Factory class to produce IVSFABs.
Definition: IVSFAB.H:206
Factory object to data members of a BoxLayoutData container.
Definition: BoxLayoutData.H:30
LayoutData< IntVectSet > m_sets
Definition: IVSFAB.H:253
void clear()
Definition: IVSFABI.H:481
static int preAllocatable()
Definition: IVSFAB.H:68
void operator=(const IVSFABFactory< T > &a_inputs)
Definition: IVSFAB.H:264
const T * dataPtr(const int &a_comp) const
Definition: IVSFABI.H:542
IVSFAB()
Definition: IVSFABI.H:39