290 sc_array_t * neighboring_quads,
291 sc_array_t * neighboring_encs,
292 sc_array_t * neighboring_qids);
364 int *nface,
int *nrank);
374 * mfn,
void *ghost_data);
int32_t p4est_topidx_t
Typedef for counting topological entities (trees, tree vertices).
Definition p4est_base.h:93
int32_t p4est_locidx_t
Typedef for processor-local indexing of quadrants and nodes.
Definition p4est_base.h:106
p4est_connect_type_t
Characterize a type of adjacency.
Definition p4est_connectivity.h:113
Passing quadrants and data to neighboring processes.
Quadrants that neighbor the local domain.
Definition p4est_ghost.h:46
This structure can be used as the status of a face neighbor iterator.
Definition p4est_mesh.h:169
p4est_locidx_t quadrant_code
4 * (quadrant_id + tree_offset)
Definition p4est_mesh.h:178
p4est_topidx_t which_tree
the current tree index
Definition p4est_mesh.h:176
p4est_t * p4est
the forest
Definition p4est_mesh.h:171
int subface
Hanging neighbor number in 0..1.
Definition p4est_mesh.h:182
p4est_mesh_t * mesh
a mesh derived from the forest
Definition p4est_mesh.h:173
p4est_ghost_t * ghost
the ghost layer of the forest
Definition p4est_mesh.h:172
p4est_locidx_t quadrant_id
tree-local quadrant index
Definition p4est_mesh.h:177
p4est_locidx_t current_qtq
track index of current neighboring quadrant
Definition p4est_mesh.h:185
int face
Face number in 0..3.
Definition p4est_mesh.h:181
This structure contains the different parameters of mesh creation.
Definition p4est_mesh.h:55
p4est_connect_type_t btype
Flag indicating the connection types (face, edge, corner) stored in the mesh.
Definition p4est_mesh.h:62
int compute_tree_index
Boolean to decide whether to allocate and compute the quad_to_tree list.
Definition p4est_mesh.h:56
int compute_level_lists
Boolean to decide whether to compute the level lists in quad_level.
Definition p4est_mesh.h:59
This structure contains complete mesh information on a 2:1 balanced forest.
Definition p4est_mesh.h:130
sc_array_t * corner_corner
and this one too (type int8_t)
Definition p4est_mesh.h:156
p4est_locidx_t local_num_quadrants
number of process-local quadrants
Definition p4est_mesh.h:131
p4est_locidx_t * quad_to_quad
one index for each of the 4 faces
Definition p4est_mesh.h:139
sc_array_t * quad_level
Stores lists of per-level quads.
Definition p4est_mesh.h:143
p4est_mesh_params_t params
parameters the mesh was created with, e.g.
Definition p4est_mesh.h:158
sc_array_t * quad_to_half
stores half-size neighbors
Definition p4est_mesh.h:141
p4est_topidx_t * quad_to_tree
tree index for each local quad.
Definition p4est_mesh.h:134
sc_array_t * corner_offset
local_num_corners + 1 entries
Definition p4est_mesh.h:154
sc_array_t * corner_quad
corner_offset indexes into this
Definition p4est_mesh.h:155
p4est_locidx_t * quad_to_corner
4 indices for each local quad
Definition p4est_mesh.h:153
int8_t * quad_to_face
encodes orientation/2:1 status
Definition p4est_mesh.h:140
p4est_locidx_t ghost_num_quadrants
number of ghost-layer quadrants
Definition p4est_mesh.h:132
int * ghost_to_proc
processor for each ghost quad
Definition p4est_mesh.h:137
p4est_locidx_t local_num_corners
tree-boundary corners
Definition p4est_mesh.h:152
The 2D quadrant datatype.
Definition p4est.h:76
The p4est forest datatype.
Definition p4est.h:150