petsc-3.12.5 2020-03-29
PetscScalarView
Prints an array of scalars; useful for debugging.
Synopsis
#include "petscsys.h"
PetscErrorCode PetscScalarView(PetscInt N,const PetscScalar idx[],PetscViewer viewer)
Collective on PetscViewer
Input Parameters
Developer Notes
idx cannot be const because may be passed to binary viewer where byte swapping is done
See Also
PetscIntView(), PetscRealView()
Level
intermediate
Location
src/sys/error/err.c
Examples
src/dm/field/examples/tutorials/ex1.c.html
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages