# AOApplicationToPetscPermuteInt

Permutes an array of blocks of integers in the application-defined ordering to the PETSc ordering.

### Synopsis

    #include "petscao.h"
    PetscErrorCode PETSCDM_DLLEXPORT AOApplicationToPetscPermuteInt(AO ao, PetscInt block, PetscInt array[])

Collective on AO

### Input Parameters

| ao | - The application ordering context
| block | - The block size
| array | - The integer array

### Keywords

application ordering, mapping

### See Also

AOCreateBasic(), AOView(), AOPetscToApplicationIS(), AOApplicationToPetsc()

Level:beginner
Location:src/dm/ao/interface/ao.c
Index of all AO routines
Table of Contents for all manual pages
Index of all manual pages