11 #ifndef _PROTOINTERFACE_H_ 12 #define _PROTOINTERFACE_H_ 35 extern Point getPoint(
const IntVect& a_iv);
38 extern Proto::Box getProtoBox(
const Box& a_box);
41 extern IntVect getIntVect(
const Point & a_pt);
44 extern Box getBox(
const Proto::Box & a_bx);
47 template <
typename T,
int ncomp>
48 void aliasBoxData(BoxData<T, ncomp> & a_boxdata,
const BaseFab<T>& a_bfr,
const int a_startcomp = 0)
51 Proto::Box region = a_bfr.
box();
#define CH_assert(cond)
Definition: CHArray.H:37
void define(const IntVect &small, const IntVect &big)
const Box & box() const
Definition: BaseFabImplem.H:271
T * dataPtr(int a_n=0)
Definition: BaseFabImplem.H:373
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:469
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
int nComp() const
{ accessors}
Definition: BaseFabImplem.H:264