#include "petscao.h" PetscErrorCode AOCreateMapping(MPI_Comm comm,PetscInt napp,const PetscInt myapp[],const PetscInt mypetsc[],AO *aoout)
comm | - MPI communicator that is to share AO Many br | |
napp | - size of integer arrays Many br | |
myapp | - integer array that defines an ordering Many br | |
mypetsc | - integer array that defines another ordering (may be NULL to indicate the identity ordering) Many br |
Notes: the arrays myapp and mypetsc need NOT contain the all the integers 0 to napp-1, that is there CAN be "holes" in the indices. Many brUse AOCreateBasic() or AOCreateBasicIS() if they do not have holes for better performance. Many br
Level:beginner
Location:src/vec/is/ao/impls/mapping/aomapping.c
Index of all AO routines
Table of Contents for all manual pages
Index of all manual pages