AOPetscToApplication

Maps a set of integers in the PETSc ordering to the application-defined ordering.

Synopsis

int AOPetscToApplication(AO ao,int n,int *ia)
Collective on AO

Input Parameters

ao - the application ordering context
n - the number of integers
ia - the integers

Note

Any integers in ia[] that are negative are left unchanged. Thisallows one to convert, for example, neighbor lists that use negativeentries to indicate nonexistent neighbors due to boundary conditions, etc.

Keywords

application ordering, mapping

See Also

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

Location: src/ao/interface/ao.c
IS and DA Index
Table of Contents