Maps a set of integers in the application-defined ordering to the PETSc ordering.
PetscErrorCode AOApplicationToPetsc(AO ao,PetscInt n,PetscInt ia)
Collective on AO
|ao ||- the application ordering context
|n ||- the number of integers
|ia ||- the integers; these are replaced with their mapped value
ia -the mapped integers
Any integers in ia that are negative are left unchanged. This
allows one to convert, for example, neighbor lists that use negative
entries to indicate nonexistent neighbors due to boundary conditions, etc.
Integers that are out of range are mapped to -1
application ordering, mapping
AOCreateBasic(), AOView(), AOPetscToApplication(),
Index of all AO routines
Table of Contents for all manual pages
Index of all manual pages