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