Actual source code: petscdmsliced.h
1: /* Very minimal unstructured DM */
2: #pragma once
4: #include <petscdm.h>
6: PETSC_EXTERN PetscErrorCode DMSlicedCreate(MPI_Comm, PetscInt, PetscInt, PetscInt, const PetscInt[], const PetscInt[], const PetscInt[], DM *);
7: PETSC_EXTERN PetscErrorCode DMSlicedSetPreallocation(DM, PetscInt, const PetscInt[], PetscInt, const PetscInt[]);
8: PETSC_EXTERN PetscErrorCode DMSlicedSetBlockFills(DM, const PetscInt *, const PetscInt *);
9: PETSC_EXTERN PetscErrorCode DMSlicedSetGhosts(DM, PetscInt, PetscInt, PetscInt, const PetscInt[]);