![]() |
GHOST
1.1.2
General, Hybrid, and Optimized Sparse Toolkit
|
A GHOST map. More...
#include <map.h>
Public Attributes | |
ghost_gidx | gdim |
The global dimension. More... | |
ghost_gidx * | goffs |
The offset into ::gdim of each rank. More... | |
ghost_gidx | offs |
The offset into ::gdim for this rank. More... | |
ghost_lidx * | ldim |
The local dimension of each rank. More... | |
ghost_lidx | dim |
The local dimension for this rank. More... | |
ghost_lidx | dimhalo |
The local dimension including halo elements for this rank. More... | |
ghost_lidx | dimpad |
The local dimension including halo elements and padding for this rank. More... | |
ghost_lidx | nhalo |
The number of halo elements. More... | |
ghost_lidx * | loc_perm |
The local permutation. More... | |
ghost_lidx * | loc_perm_inv |
The local inverse permutation. More... | |
ghost_gidx * | glb_perm |
The global permutation. More... | |
ghost_gidx * | glb_perm_inv |
The global inverse permutation. More... | |
ghost_lidx * | cu_loc_perm |
The local permutation in CUDA memory. More... | |
ghost_maptype | type |
The map's type. More... | |
ghost_mpi_comm | mpicomm |
The associated MPI communicator. More... | |
ghost_map_flags | flags |
The map's flags. More... | |
int | ref_count |
A GHOST map.
ghost_lidx* ghost_map::cu_loc_perm |
The local permutation in CUDA memory.
ghost_lidx ghost_map::dim |
The local dimension for this rank.
ghost_lidx ghost_map::dimhalo |
The local dimension including halo elements for this rank.
ghost_lidx ghost_map::dimpad |
The local dimension including halo elements and padding for this rank.
ghost_map_flags ghost_map::flags |
The map's flags.
ghost_gidx ghost_map::gdim |
The global dimension.
ghost_gidx* ghost_map::glb_perm |
The global permutation.
ghost_gidx* ghost_map::glb_perm_inv |
The global inverse permutation.
ghost_gidx* ghost_map::goffs |
The offset into ::gdim of each rank.
ghost_lidx* ghost_map::ldim |
The local dimension of each rank.
ghost_lidx* ghost_map::loc_perm |
The local permutation.
ghost_lidx* ghost_map::loc_perm_inv |
The local inverse permutation.
ghost_mpi_comm ghost_map::mpicomm |
The associated MPI communicator.
ghost_lidx ghost_map::nhalo |
The number of halo elements.
ghost_gidx ghost_map::offs |
The offset into ::gdim for this rank.
int ghost_map::ref_count |
if the reference counter is 0, ghost_map_destroy deletes the data structure. Otherwise, it just decreases the reference count. Whenever the map is passed to a densemat or other ghost object, its reference count is incremented. Such objects should call ghost_map_destroy when deleted themselves.
ghost_maptype ghost_map::type |
The map's type.