PetscIntView

Prints an array of integers; useful for debugging.

Synopsis

int PetscIntView(int N,int* idx,Viewer viewer)
Collective on Viewer

Input Parameters

N - number of integers in array
idx - array of integers
viewer - location to print array, VIEWER_STDOUT_WORLD, VIEWER_STDOUT_SELF or 0

Notes

If using a viewer with more than one processor, you must call PetscSynchronizedFlush() after this call to get all processors to print to the screen.

See Also

PetscDoubleView()

Location: src/sys/src/errorerr.c
System Index
Table of Contents