:orphan:
# SNESViewFromOptions
View a `SNES` based on values in the options database 
## Synopsis
```
#include "petscsnes.h"  
PetscErrorCode SNESViewFromOptions(SNES A, PetscObject obj, const char name[])
```
Collective


## Input Parameters

- ***A -*** the `SNES` context
- ***obj -*** Optional object that provides the options prefix for the checks
- ***name -*** command line option





## See Also
 [](ch_snes), `SNES`, `SNESView`, `PetscObjectViewFromOptions()`, `SNESCreate()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/interface/snes.c.html#SNESViewFromOptions">src/snes/interface/snes.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/snes/interface/snes.c)


[Index of all SNES routines](index.md)  
[Table of Contents for all manual pages](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
