:orphan: # PCViewFromOptions View from the `PC` based on options in the database ## Synopsis ``` #include "petscksp.h" PetscErrorCode PCViewFromOptions(PC A, PetscObject obj, const char name[]) ``` Collective ## Input Parameters - ***A -*** the `PC` context - ***obj -*** Optional object that provides the options prefix - ***name -*** command line option ## See Also `PC`, `PCView`, `PetscObjectViewFromOptions()`, `PCCreate()` ## Level intermediate ## Location src/ksp/pc/interface/precon.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/pc/interface/precon.c) [Index of all PC routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)