xref: /petsc/include/petscdmsliced.h (revision d8b9fd66f4b205d5a7dbf2a2631ee2c4898a5fda)
13c48a1e8SJed Brown /* Very minimal unstructured DM */
23c48a1e8SJed Brown #if !defined(__PETSCDMSLICED_H)
33c48a1e8SJed Brown #define __PETSCDMSLICED_H
43c48a1e8SJed Brown 
53c48a1e8SJed Brown #include "petscdm.h"
6*d8b9fd66SJed Brown PETSC_EXTERN_CXX_BEGIN
7*d8b9fd66SJed Brown 
83c48a1e8SJed Brown extern PetscErrorCode   DMSlicedCreate(MPI_Comm,DM*);
93c48a1e8SJed Brown extern PetscErrorCode   DMSlicedGetGlobalIndices(DM,PetscInt*[]);
103c48a1e8SJed Brown extern PetscErrorCode   DMSlicedSetPreallocation(DM,PetscInt,const PetscInt[],PetscInt,const PetscInt[]);
113c48a1e8SJed Brown extern PetscErrorCode   DMSlicedSetBlockFills(DM,const PetscInt*,const PetscInt*);
123c48a1e8SJed Brown extern PetscErrorCode   DMSlicedSetGhosts(DM,PetscInt,PetscInt,PetscInt,const PetscInt[]);
133c48a1e8SJed Brown 
14*d8b9fd66SJed Brown PETSC_EXTERN_CXX_END
153c48a1e8SJed Brown #endif
16