xref: /petsc/include/petscdmshell.h (revision 16950a1feb2bf5c1fbc125882dc005ecf2d39336)
1fe1899a2SJed Brown #if !defined(__PETSCDMSHELL_H)
2fe1899a2SJed Brown #define __PETSCDMSHELL_H
3fe1899a2SJed Brown 
42c8e378dSBarry Smith #include <petscdm.h>
5fe1899a2SJed Brown 
6014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMShellCreate(MPI_Comm,DM*);
7014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMShellSetMatrix(DM,Mat);
8014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMShellSetGlobalVector(DM,Vec);
9dc43b69eSJed Brown PETSC_EXTERN PetscErrorCode DMShellSetLocalVector(DM,Vec);
10014dd563SJed Brown PETSC_EXTERN PetscErrorCode DMShellSetCreateGlobalVector(DM,PetscErrorCode (*)(DM,Vec*));
11dc43b69eSJed Brown PETSC_EXTERN PetscErrorCode DMShellSetCreateLocalVector(DM,PetscErrorCode (*)(DM,Vec*));
12d3120a63SRichard Tran Mills PETSC_EXTERN PetscErrorCode DMShellSetGlobalToLocal(DM,PetscErrorCode (*)(DM,Vec,InsertMode,Vec),PetscErrorCode (*)(DM,Vec,InsertMode,Vec));
13*16950a1fSJed Brown PETSC_EXTERN PetscErrorCode DMShellSetGlobalToLocalVecScatter(DM,VecScatter*);
14d3120a63SRichard Tran Mills PETSC_EXTERN PetscErrorCode DMShellSetLocalToGlobal(DM,PetscErrorCode (*)(DM,Vec,InsertMode,Vec),PetscErrorCode (*)(DM,Vec,InsertMode,Vec));
1519fd82e9SBarry Smith PETSC_EXTERN PetscErrorCode DMShellSetCreateMatrix(DM,PetscErrorCode (*)(DM,MatType,Mat*));
1681634712SRichard Tran Mills PETSC_EXTERN PetscErrorCode DMShellDefaultGlobalToLocalBegin(DM dm,Vec g,InsertMode mode,Vec l);
1781634712SRichard Tran Mills PETSC_EXTERN PetscErrorCode DMShellDefaultGlobalToLocalEnd(DM dm,Vec g,InsertMode mode,Vec l);
18fe1899a2SJed Brown 
19fe1899a2SJed Brown #endif
20