:orphan: # AOSetFromOptions Sets `AO` options from the options database. ## Synopsis ``` #include "petscao.h" PetscErrorCode AOSetFromOptions(AO ao) ``` Collective ## Input Parameter - ***ao -*** the application ordering ## See Also [](sec_ao), `AO`, `AOCreate()`, `AOSetType()`, `AODestroy()`, `AOPetscToApplication()`, `AOApplicationToPetsc()` ## Level beginner ## 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)