1 /* Very minimal unstructured DM */ 2 #if !defined(__PETSCDMSLICED_H) 3 #define __PETSCDMSLICED_H 4 5 #include "petscdm.h" 6 extern PetscErrorCode DMSlicedCreate(MPI_Comm,DM*); 7 extern PetscErrorCode DMSlicedGetGlobalIndices(DM,PetscInt*[]); 8 extern PetscErrorCode DMSlicedSetPreallocation(DM,PetscInt,const PetscInt[],PetscInt,const PetscInt[]); 9 extern PetscErrorCode DMSlicedSetBlockFills(DM,const PetscInt*,const PetscInt*); 10 extern PetscErrorCode DMSlicedSetGhosts(DM,PetscInt,PetscInt,PetscInt,const PetscInt[]); 11 12 #endif 13