PetscDoubleView

Prints an array of doubles; useful for debugging.

Synopsis

int PetscDoubleView(int N,double* idx,Viewer viewer)
Collective on Viewer

Input Parameters

N - number of doubles in array
idx - array of doubles
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

PetscIntView()

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