1cdef extern from * nogil: 2 3 ctypedef const char* PetscAOType "AOType" 4 PetscAOType AOBASIC 5 PetscAOType AOADVANCED 6 PetscAOType AOMAPPING 7 PetscAOType AOMEMORYSCALABLE 8 9 PetscErrorCode AOView(PetscAO, PetscViewer) 10 PetscErrorCode AODestroy(PetscAO*) 11 PetscErrorCode AOCreateBasic(MPI_Comm, PetscInt, const PetscInt[], const PetscInt[], PetscAO*) 12 PetscErrorCode AOCreateBasicIS(PetscIS, PetscIS, PetscAO*) 13 PetscErrorCode AOCreateMemoryScalable(MPI_Comm, PetscInt, const PetscInt[], const PetscInt[], PetscAO*) 14 PetscErrorCode AOCreateMemoryScalableIS(PetscIS, PetscIS, PetscAO*) 15 PetscErrorCode AOCreateMapping(MPI_Comm, PetscInt, const PetscInt[], const PetscInt[], PetscAO*) 16 PetscErrorCode AOCreateMappingIS(PetscIS, PetscIS, PetscAO*) 17 PetscErrorCode AOGetType(PetscAO, PetscAOType*) 18 19 PetscErrorCode AOApplicationToPetsc(PetscAO, PetscInt, PetscInt[]) 20 PetscErrorCode AOApplicationToPetscIS(PetscAO, PetscIS) 21 PetscErrorCode AOPetscToApplication(PetscAO, PetscInt, PetscInt[]) 22 PetscErrorCode AOPetscToApplicationIS(PetscAO, PetscIS) 23