PCViewFromOptions — PETSc 3.21.4 documentation

Skip to main content
`Ctrl`+`K`

# PCViewFromOptions

View from the `PC` based on options in the options 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

KSP: Linear System Solvers, `PC`, `PCView`, `PetscObjectViewFromOptions()`, `PCCreate()`

## Level

intermediate

## Location

src/ksp/pc/interface/precon.c

Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages