#include "petscao.h" PetscErrorCode AOPetscToApplicationIS(AO ao,IS is)Collective on AO
ao | - the Section 1.5 Writing Application Codes with PETSc ordering context | |
is | - the index set; this is replaced with its mapped values |
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.