:orphan:
# AOMappingHasApplicationIndex
Checks if an `AO` has a requested application index. 
## Synopsis
```
#include "petscao.h" 
PetscErrorCode AOMappingHasApplicationIndex(AO ao, PetscInt idex, PetscBool *hasIndex)
```
Not Collective


## Input Parameters

- ***ao       -*** The `AO`
- ***index    -*** The application index



## Output Parameter

- ***hasIndex -*** Flag is `PETSC_TRUE` if the index exists





## Developer Note
The name of the function is wrong, it should be `AOHasApplicationIndex`


## See Also
 [](sec_ao), `AOMappingHasPetscIndex()`, `AOCreateMapping()`, `AO`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/is/ao/impls/mapping/aomapping.c.html#AOMappingHasApplicationIndex">src/vec/is/ao/impls/mapping/aomapping.c</A>


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