PetscIntCSRView#
Prints a graph represented in compressed sparse row (CSR) format; useful for debugging.
Synopsis#
#include "petscsys.h"
PetscErrorCode PetscIntCSRView(PetscInt N, const PetscInt ia[], const PetscInt ja[], PetscViewer viewer)
Collective
Input Parameters#
N - number of local vertices
ia - row pointers of length
N + 1ja - adjacency list of length
ia[N]viewer - an optional
PetscViewervisualization context
Notes#
This may be called from within the debugger, passing NULL as the viewer.
ia[0] must be zero and the row pointers must be nondecreasing.
Only ASCII viewers are supported.
See Also#
Level#
intermediate
Location#
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages