DAGetInfo

Gets information about a given distributed array.

Synopsis

#include "da.h"   
int DAGetInfo(DA da,int *dim,int *M,int *N,int *P,int *m,int *n,int *p,int *dof,int *s,DAPeriodicType *wrap,DAStencilType *st)
Not Collective

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
dof - number of degrees of freedom per node
s - stencil width
wrap - type of periodicity, on of DA_NONPERIODIC, DA_XPERIODIC, DA_YPERIODIC, DA_XYPERIODIC, DA_XYZPERIODIC, DA_XZPERIODIC, DA_YZPERIODIC,DA_ZPERIODIC
st - stencil type, either DA_STENCIL_STAR or DA_STENCIL_BOX

Note

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

Keywords

distributed array, get, information

See Also

DAView()

Level:beginner
Location:src/dm/da/src/daview.c
DA Index
Table of Contents