: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 src/vec/is/ao/impls/mapping/aomapping.c --- [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)