:orphan:
# AOView
Displays an application ordering. 
## Synopsis
```
#include "petscao.h" 
PetscErrorCode AOView(AO ao, PetscViewer viewer)
```
Collective


## Input Parameters

- ***ao -*** the application ordering context
- ***viewer -*** viewer used for display





## Options Database Key

- ***-ao_view -*** calls `AOView()` at end of `AOCreate()`



## Notes
The available visualization contexts include

- ***`PETSC_VIEWER_STDOUT_SELF` -*** standard output (default)
- ***`PETSC_VIEWER_STDOUT_WORLD` -*** synchronized standard
output where only the first processor opens
the file.  All other processors send their
data to the first processor to print.


The user can open an alternative visualization context with
`PetscViewerASCIIOpen()` - output to a specified file.


## See Also
 [](sec_ao), `AO`, `PetscViewerASCIIOpen()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/is/ao/interface/ao.c.html#AOView">src/vec/is/ao/interface/ao.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/is/ao/impls/basic/aobasic.c.html#AOView_Basic">AOView_Basic in src/vec/is/ao/impls/basic/aobasic.c</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/is/ao/impls/mapping/aomapping.c.html#AOView_Mapping">AOView_Mapping in src/vec/is/ao/impls/mapping/aomapping.c</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/is/ao/impls/memscalable/aomemscalable.c.html#AOView_MemoryScalable">AOView_MemoryScalable in src/vec/is/ao/impls/memscalable/aomemscalable.c</A><BR>


---
[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)  
