# 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](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
