#include "petscdmda.h" PetscErrorCode DMDAGetInfo(DM da,PetscInt *dim,PetscInt *M,PetscInt *N,PetscInt *P,PetscInt *m,PetscInt *n,PetscInt *p,PetscInt *dof,PetscInt *s,DMBoundaryType *bx,DMBoundaryType *by,DMBoundaryType *bz,DMDAStencilType *st)Not Collective
da | - the distributed array |
dim | - dimension of the distributed array (1, 2, or 3) | |
M, N, P | - global dimension in each direction of the array | |
m, n, p | - corresponding number of procs in each dimension | |
dof | - number of degrees of freedom per node | |
s | - stencil width | |
bx,by,bz | - type of ghost nodes at boundary, one of DM_BOUNDARY_NONE, DM_BOUNDARY_GHOSTED, DM_BOUNDARY_MIRROR, DM_BOUNDARY_PERIODIC | |
st | - stencil type, either DMDA_STENCIL_STAR or DMDA_STENCIL_BOX |