petsc-3.13.6 2020-09-29
Report Typos and Errors

PetscRealView

Prints an array of doubles; useful for debugging.

Synopsis

#include "petscsys.h" 
PetscErrorCode  PetscRealView(PetscInt N,const PetscReal idx[],PetscViewer viewer)
Collective on PetscViewer

Input Parameters

N - number of PetscReal in array
idx - array of PetscReal
viewer - location to print array, PETSC_VIEWER_STDOUT_WORLD, PETSC_VIEWER_STDOUT_SELF or 0

Developer Notes

idx cannot be const because may be passed to binary viewer where byte swapping is done

See Also

PetscIntView()

Level

intermediate

Location

src/sys/error/err.c

Examples

src/mat/tutorials/ex10.c.html
src/dm/field/tutorials/ex1.c.html

Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages