Actual source code: petscdmsliced.h
petsc-3.13.6 2020-09-29
1: /* Very minimal unstructured DM */
2: #if !defined(PETSCDMSLICED_H)
3: #define PETSCDMSLICED_H
5: #include <petscdm.h>
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[]);
12: #endif