#include "petscda.h" int DAGetGlobalIndices(DA da,int *n,int **idx)Not Collective
n | - the number of local elements, including ghost nodes (or PETSC_NULL) | |
idx | - the global indices |
Essentially the same data is returned in the form of a local-to-global mapping with the routine DAGetISLocalToGlobalMapping();
DA da integer n,da_array(1) PetscOffset i_da integer ierr call DAGetGlobalIndices(da,n,da_array,i_da,ierr) C Access first local entry in list value = da_array(i_da + 1)
See the Fortran chapter of the users manual for details
Level:intermediate
Location:src/dm/da/src/daindex.c
Index of all DA routines
Table of Contents for all manual pages
Index of all manual pages