PetscIntView

Prints an array of integers; useful for debugging.

Synopsis

#include "petsc.h" 
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

See Also

PetscDoubleView()

Level:intermediate
Location:
src/sys/src/error/err.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/vec/is/examples/tutorials/ex4.c
src/snes/examples/tutorials/ex6.c
src/dm/ao/examples/tutorials/ex2.c