Struct t8_forest_ghost
Defined in File t8_forest_types.h
Struct Documentation
-
struct t8_forest_ghost
This struct stores various information about a forest’s ghost elements and ghost trees.
Public Members
-
t8_refcount_t rc
The reference counter.
-
t8_locidx_t num_ghosts_elements
The count of non-local ghost leaf elements
-
t8_locidx_t num_remote_elements
The count of local leaf elements that are ghost to another process.
-
t8_ghost_type_t ghost_type
Describes which neighbors are considered ghosts.
-
sc_array_t *ghost_trees
ghost tree data: global_id. eclass. elements. In linear id order
-
sc_hash_t *global_tree_to_ghost_tree
Indexes into ghost_trees. Given a global tree id I give the index i such that the tree is in ghost_trees[i]
-
sc_hash_t *process_offsets
Given a process, return the first ghost tree and within it the first element of that process.
-
sc_hash_array_t *remote_ghosts
array of local trees that have ghost elements for another process. for each tree an array of t8_element_t * of the local ghost elements. Also an array of t8_locidx_t of the local indices of these elements within the tree. It is a hash table, hashed with the rank of a remote process. Sorted within each process by linear id.
-
sc_array_t *remote_processes
The ranks of the processes for which local elements are ghost. Array of int’s.
-
sc_mempool_t *glo_tree_mempool
The global tree memory pool.
-
sc_mempool_t *proc_offset_mempool
The process offset memory pool.
-
t8_refcount_t rc