PetscRealView#
Prints an array of doubles; useful for debugging.
Synopsis#
#include "petscsys.h"
PetscErrorCode PetscRealView(PetscInt N, const PetscReal idx[], PetscViewer viewer)
Collective
Input Parameters#
N - number of
PetscReal
in arrayidx - array of
PetscReal
viewer - location to print array,
PETSC_VIEWER_STDOUT_WORLD
,PETSC_VIEWER_STDOUT_SELF
or 0
Note#
This may be called from within the debugger
Developer Note#
idx cannot be const because may be passed to binary viewer where temporary byte swapping may be done
See Also#
Level#
intermediate
Location#
Examples#
src/dm/field/tutorials/ex1.c
src/mat/tutorials/ex10.c
src/ts/tutorials/ex11_sa.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages