:orphan:
# PFViewFromOptions
View a `PF` based on options set in the options database 
## Synopsis
```
#include "petscpf.h" 
PetscErrorCode PFViewFromOptions(PF A, PetscObject obj, const char name[])
```
Collective


## Input Parameters

- ***A -*** the `PF` context
- ***obj -*** Optional object that provides the prefix used to search the options database
- ***name -*** command line option





## Note
See `PetscObjectViewFromOptions()` for the variety of viewer options available


## See Also
 `PF`, `PFView`, `PetscObjectViewFromOptions()`, `PFCreate()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/pf/interface/pf.c.html#PFViewFromOptions">src/vec/pf/interface/pf.c</A>


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


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