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