p4est  1.0
Data Fields
octor_neighbor_t Struct Reference

octor_neighbor_t: More...

#include <p8est_trilinear.h>

Data Fields

int32_t face_neighbor_eid [6][4]

Detailed Description

octor_neighbor_t:

The face neighbors are ordered in -x, +x, -y, +y, -z, and +z directions.

For each direction, the neighbor(s) may be:

1. Out of the domain.

face_neighbor_eid[direction][0] = -1. face_neighbor_eid[direction][1--3] = -1.

2. As large or twice as large as the current element:

face_neighbor_eid[direction][0] = index

where ((index >= 0) && (index < local_elem_num)) if the neighbor is LOCAL, or ((index >= local_elem_num) && (index < (local_elem_num + phantom_elem_num))) if the neighor is REMOTE.

face_neighbor_eid[direction][1--3] = -1.

3. Half as large as the current element:

face_neighbor_eid[direction][i] = index

where index is defined as above. Note that in this case all four neighbors (half as large) must exist.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines