: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 src/snes/interface/snes.c --- [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)