DAGetInfo

Gets information about a given distributed array.

Synopsis

int DAGetInfo(DA da,int *dim,int *M,int *N,int *P,int *m,int *n,int *p,int *w,int *s,DAPeriodicType *wrap)

Input Parameter

da -the distributed array

Output Parameters

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
w -number of degrees of freedom per node
s -stencil width
wrap -type of periodicity

Not Collective

Note

Use PETSC_NULL in place of any output parameter that is not of interest.

Keywords

distributed array, get, information

See Also

DAView()

Location: src/da/src/daview.c
IS and DA Index
Table of Contents