GHOST  1.1.2
General, Hybrid, and Optimized Sparse Toolkit
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Attributes | List of all members
ghost_map Struct Reference

A GHOST map. More...

#include <map.h>

Public Attributes

ghost_gidx gdim
 The global dimension. More...
 
ghost_gidxgoffs
 The offset into ::gdim of each rank. More...
 
ghost_gidx offs
 The offset into ::gdim for this rank. More...
 
ghost_lidxldim
 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_lidxloc_perm
 The local permutation. More...
 
ghost_lidxloc_perm_inv
 The local inverse permutation. More...
 
ghost_gidxglb_perm
 The global permutation. More...
 
ghost_gidxglb_perm_inv
 The global inverse permutation. More...
 
ghost_lidxcu_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
 

Detailed Description

A GHOST map.

Member Data Documentation

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.


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