Overture  Version 25
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes | List of all members
IndexBox Class Reference

#include <ParallelUtility.h>

Public Member Functions

 IndexBox ()
 
 IndexBox (int i1a, int i1b, int i2a=0, int i2b=0, int i3a=0, int i3b=0, int i4a=0, int i4b=0)
 
 ~IndexBox ()
 
int base (int d) const
 
int bound (int d) const
 
int size () const
 
int bb (int side, int d) const
 
void setBounds (int i1a, int i1b, int i2a=0, int i2b=0, int i3a=0, int i3b=0, int i4a=0, int i4b=0)
 
bool isEmpty () const
 

Static Public Member Functions

static bool intersect (const IndexBox &a, const IndexBox &b, IndexBox &c)
 

Public Attributes

int processor
 

Protected Attributes

int ab [MAX_DISTRIBUTED_DIMENSIONS][2]
 

Constructor & Destructor Documentation

IndexBox::IndexBox ( )
IndexBox::IndexBox ( int  i1a,
int  i1b,
int  i2a = 0,
int  i2b = 0,
int  i3a = 0,
int  i3b = 0,
int  i4a = 0,
int  i4b = 0 
)

References setBounds().

IndexBox::~IndexBox ( )

Member Function Documentation

int IndexBox::base ( int  d) const
inline
int IndexBox::bb ( int  side,
int  d 
) const
inline

References ab.

int IndexBox::bound ( int  d) const
inline
bool IndexBox::intersect ( const IndexBox a,
const IndexBox b,
IndexBox c 
)
static
bool IndexBox::isEmpty ( ) const
void IndexBox::setBounds ( int  i1a,
int  i1b,
int  i2a = 0,
int  i2b = 0,
int  i3a = 0,
int  i3b = 0,
int  i4a = 0,
int  i4b = 0 
)
int IndexBox::size ( ) const

References ab, and MAX_DISTRIBUTED_DIMENSIONS.

Referenced by CopyArray::copyArray().

Member Data Documentation

int IndexBox::ab[MAX_DISTRIBUTED_DIMENSIONS][2]
protected
int IndexBox::processor

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