:orphan: # AOViewFromOptions View an `AO` based on values in the options database ## Synopsis ``` #include "petscao.h" PetscErrorCode AOViewFromOptions(AO ao, PetscObject obj, const char name[]) ``` Collective ## Input Parameters - ***ao -*** the application ordering context - ***obj -*** Optional object - ***name -*** command line option ## See Also [](sec_ao), `AO`, `AOView`, `PetscObjectViewFromOptions()`, `AOCreate()` ## Level intermediate ## Location src/vec/is/ao/interface/ao.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/vec/is/ao/interface/ao.c) [Index of all AO routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)