:orphan:
# AORegister
Register  an application ordering method 
## Synopsis
```
#include "petscao.h"  
PetscErrorCode AORegister(const char sname[], PetscErrorCode (*function)(AO))
```
Not Collective


## Input Parameters

- ***sname -*** the name (`AOType`) of the `AO` scheme
- ***function -*** the create routine for the application ordering method





## See Also
 `AO`, `AOType`, `AOCreate()`, `AORegisterAll()`, `AOBASIC`, `AOADVANCED`, `AOMAPPING`, `AOMEMORYSCALABLE`

## Level
advanced

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


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/vec/is/ao/interface/aoreg.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)  
