:orphan: # KSPViewFromOptions View a `KSP` object based on values in the options database ## Synopsis ``` #include "petscksp.h" PetscErrorCode KSPViewFromOptions(KSP A, PetscObject obj, const char name[]) ``` Collective ## Input Parameters - ***A -*** Krylov solver context - ***obj -*** Optional object - ***name -*** command line option ## See Also `KSP`, `KSPView`, `PetscObjectViewFromOptions()`, `KSPCreate()` ## Level intermediate ## Location src/ksp/ksp/interface/itcreate.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/ksp/interface/itcreate.c) [Index of all KSP routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)