#include "petscda.h" PetscErrorCode PETSCDM_DLLEXPORT DAView(DA da,PetscViewer viewer)Collective on DA
| da | - the distributed array | |
| ptr | - an optional visualization context |
| PETSC_VIEWER_STDOUT_SELF | - standard output (default) | |
| PETSC_VIEWER_STDOUT_WORLD | - synchronized standard output where only the first processor opens the file. All other processors send their data to the first processor to print. | |
| PETSC_VIEWER_DRAW_WORLD | - to default window |
The user can open alternative visualization contexts with
| PetscViewerASCIIOpen() | - Outputs vector to a specified file | |
| PetscViewerDrawOpen() | - Outputs vector to an X window display |
Processor [proc] M N P m n p w s
X range: xs xe, Y range: ys, ye, Z range: zs, ze
where
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
xs, xe - internal local starting/ending grid points
in x-direction, (augmented to handle multiple
degrees of freedom per node)
ys, ye - local starting/ending grid points in y-direction
zs, ze - local starting/ending grid points in z-direction
When drawing the DA grid it only draws the logical grid and does not respect the grid coordinates set with DASetCoordinates()
Level:beginner
Location:src/dm/da/src/daview.c
Index of all DA routines
Table of Contents for all manual pages
Index of all manual pages