petsc-3.6.2 2015-10-02
Report Typos and Errors

# SNESView

Prints the SNES data structure.

### Synopsis

    #include "petscsnes.h"
    PetscErrorCode  SNESView(SNES snes,PetscViewer viewer)

Collective on SNES

### Input Parameters

| SNES | - the SNES context
| viewer | - visualization context

### Options Database Key

-snes_view -Calls SNESView() at end of SNESSolve()

### Notes

The available visualization contexts include

| PETSC_VIEWER_STDOUT_SELF | - standard output (default)
| PETSC_VIEWER_STDOUT_WORLD | - synchronized standard output where only the first processor opens the file. All other processors send their data to the first processor to print.

The user can open an alternative visualization context with PetscViewerASCIIOpen() - output to a specified file.

### Keywords

SNES, view

### See Also

PetscViewerASCIIOpen()

Level:beginner
Location: src/snes/interface/snes.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages