DMStagGetNumRanks#
get number of ranks in each direction in the global grid decomposition
Synopsis#
#include "petscdmstag.h"   
#include "petscdmproduct.h"   
PetscErrorCode DMStagGetNumRanks(DM dm, PetscInt *nRanks0, PetscInt *nRanks1, PetscInt *nRanks2)
Not Collective
Input Parameter#
- dm - the - DMSTAGobject
Output Parameters#
- nRanks0 - number of ranks in the x direction in the grid decomposition 
- nRanks1 - number of ranks in the y direction in the grid decomposition 
- nRanks2 - number of ranks in the z direction in the grid decomposition 
See Also#
DMSTAG: Staggered, Structured Grid, 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