p4est
1.1
|
dep: dependent quads and processes. More...
Data Fields | |
p4est_locidx_t | face [P4EST_DIM] |
dep: dependent quads and processes.
Suppose quadrants q0, q1, q2, and q3 share the same face neighbor p.
_______ o +____________ / / / / /______ /| q3 / /|
/ / | / / | /______ /| / /___________ / | | | |/| q1 | | | | q2 | / | | | | |______|/| / | p | / | | |/ | | / | q0 | / | | / |______|/ |___________|/
Even though quads q0, q1, and q2 do not touch the corner marked by "+", they share the node that is created there. When the callback that creates that node is run, it needs to know about all quads that share the node. Quadrant q3 has one dep: during the face callback between face p and the q faces, the dep associated with the marked corner "o" will have one of its face values record the presence of q0, on edge value record the presence of q1, and one edge value record the presence of q2. If the quads are local, their indices are stored; if they are ghosts, their owner is encoded as -(proc + 3). This allows -1 to stand for "uninitialized", and -2 to stand for "no dependencies".