DMStagGetNumRanks#
get number of ranks in each direction in the global grid decomposition
Synopsis#
PetscErrorCode DMStagGetNumRanks(DM dm, PetscInt *nRanks0, PetscInt *nRanks1, PetscInt *nRanks2)
Not Collective
Input Parameter#
dm - the DMStag object
Output Parameters#
nRanks0,nRanks1,nRanks2 - number of ranks in each direction in the grid decomposition
Notes#
Arguments corresponding to higher dimensions are ignored for 1D and 2D grids. These arguments may be set to NULL
in this case.
See Also#
DMSTAG
, DMStagGetGlobalSizes()
, DMStagGetLocalSize()
, DMStagSetNumRanks()
, DMDAGetInfo()
Level#
intermediate
Location#
Index of all DMStag routines
Table of Contents for all manual pages
Index of all manual pages