#include "petscsys.h" PetscErrorCode PetscScalarView(PetscInt N,const PetscScalar idx[],PetscViewer viewer)Collective on PetscViewer
N | - number of scalars in array | |
idx | - array of scalars | |
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