Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ot::DA_FLAGS Namespace Reference


Enumerations

enum  ElementFlagType { DEP_ELEM = 32, FOREIGN = 255 }
 A flag to identify the type of octant. More...
enum  loopType {
  ALL, WRITABLE, DEPENDENT, INDEPENDENT,
  W_DEPENDENT, FROM_STORED
}
 A flag to determine the type of iterator used. More...
enum  SortOrderType {
  XYZ, YXZ, XZY, ZXY,
  YZX, ZYX
}
 A flag to identify the relative order of the vertices of an octant. More...


Enumeration Type Documentation

enum ElementFlagType
 

A flag to identify the type of octant.

Author:
Hari Sundar
Enumeration values:
DEP_ELEM 
FOREIGN 

Definition at line 110 of file odaUtils.h.

enum loopType
 

A flag to determine the type of iterator used.

The set of elements a processor owns will be referred to as local elements. ot::DA allows each processor to loop over its local elements and also the set of ghost octants recieved from processors with a lower rank than itself (pre-ghosts). Since, the octants are globally sorted to begin with, the pre-ghosts will have a lower Morton id compared to the first local element. The elements (both ghosts and local) will be traversed in the Morton order.

Each element has 8 node indices stored in it. Some of them could be pointing to ghosts.

use ALL to loop over all the local elements and pre-ghost elements as well.

use WRITABLE to loop over all the elements the current processor owns.

use DEPENDENT to loop over pre-ghosts as well as local elements, which have atleast one node index pointing to some ghost octant.

use INDEPENDENT to loop over local elements, which do not have any node index pointing to a ghost octant.

use W_DEPENDENT to loop over local elements, which have atleast one node index pointing to some ghost octant.

use FROM_STORED to initialize a loop at the location of the last call to the function currWithInfo(). Note unlike, the other loopTypes FROM_STORED must be used only in the init portion.

A sample usage would look like:

      for ( init<loopType> ; curr() < end<loopType>(); next<loopType>() ) { 
    // process current element ...
    } 
Author:
Rahul Sampath
Enumeration values:
ALL 
WRITABLE 
DEPENDENT 
INDEPENDENT 
W_DEPENDENT 
FROM_STORED 

Definition at line 151 of file odaUtils.h.

enum SortOrderType
 

A flag to identify the relative order of the vertices of an octant.

Author:
Hari Sundar
Enumeration values:
XYZ 
YXZ 
XZY 
ZXY 
YZX 
ZYX 

Definition at line 102 of file odaUtils.h.


Generated on Tue Mar 24 16:14:25 2009 for DENDRO by  doxygen 1.3.9.1