p4est 2.8.6
p4est is a software library for parallel adaptive mesh refinement.
Data Fields
p8est_ghost_t Struct Reference

quadrants that neighbor the local domain More...

#include <p8est_ghost.h>

Data Fields

int mpisize
 
p4est_topidx_t num_trees
 
p8est_connect_type_t btype
 which neighbors are in the ghost layer
 
sc_array_t ghosts
 An array of quadrants which make up the ghost layer around forest. More...
 
p4est_locidx_ttree_offsets
 num_trees + 1 ghost indices
 
p4est_locidx_tproc_offsets
 mpisize + 1 ghost indices
 
sc_array_t mirrors
 An array of local quadrants that touch the parallel boundary from the inside, i.e., that are ghosts in the perspective of at least one other processor. More...
 
p4est_locidx_tmirror_tree_offsets
 num_trees + 1 mirror indices
 
p4est_locidx_tmirror_proc_mirrors
 indices into mirrors grouped by outside processor rank and ascending within each rank
 
p4est_locidx_tmirror_proc_offsets
 mpisize + 1 indices into mirror_proc_mirrors
 
p4est_locidx_tmirror_proc_fronts
 like mirror_proc_mirrors, but limited to the outermost octants. More...
 
p4est_locidx_tmirror_proc_front_offsets
 NULL until p8est_ghost_expand is called.
 

Detailed Description

quadrants that neighbor the local domain

Field Documentation

◆ ghosts

sc_array_t p8est_ghost_t::ghosts

An array of quadrants which make up the ghost layer around forest.

Their piggy3 data member is filled with their owner's tree and local number (cumulative over trees). Quadrants are ordered in p8est_quadrant_compare_piggy order. These are quadrants inside the neighboring tree, i.e., p8est_quadrant_is_inside() is true for the quadrant and the neighboring tree. array of p8est_quadrant_t type

◆ mirror_proc_fronts

p4est_locidx_t* p8est_ghost_t::mirror_proc_fronts

like mirror_proc_mirrors, but limited to the outermost octants.

This is NULL until p8est_ghost_expand is called

◆ mirrors

sc_array_t p8est_ghost_t::mirrors

An array of local quadrants that touch the parallel boundary from the inside, i.e., that are ghosts in the perspective of at least one other processor.

The storage convention is the same as for ghosts above. array of p8est_quadrant_t type


The documentation for this struct was generated from the following file: