/usr/lib/petscdir/3.4.2/include/petscdmcomposite.h is in libpetsc3.4.2-dev 3.4.2.dfsg1-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | /* "Unintrusive" multi-physics DM */
#if !defined(__PETSCDMCOMPOSITE_H)
#define __PETSCDMCOMPOSITE_H
#include <petscdm.h>
PETSC_EXTERN PetscErrorCode DMCompositeCreate(MPI_Comm,DM*);
PETSC_EXTERN PetscErrorCode DMCompositeAddDM(DM,DM);
PETSC_EXTERN PetscErrorCode DMCompositeSetCoupling(DM,PetscErrorCode (*)(DM,Mat,PetscInt*,PetscInt*,PetscInt,PetscInt,PetscInt,PetscInt));
PETSC_EXTERN PetscErrorCode DMCompositeAddVecScatter(DM,VecScatter);
PETSC_EXTERN PetscErrorCode DMCompositeScatter(DM,Vec,...);
PETSC_EXTERN PetscErrorCode DMCompositeScatterArray(DM,Vec,Vec*);
PETSC_EXTERN PetscErrorCode DMCompositeGather(DM,Vec,InsertMode,...);
PETSC_EXTERN PetscErrorCode DMCompositeGatherArray(DM,Vec,InsertMode,Vec*);
PETSC_EXTERN PetscErrorCode DMCompositeGetNumberDM(DM,PetscInt*);
PETSC_EXTERN PetscErrorCode DMCompositeGetAccess(DM,Vec,...);
PETSC_EXTERN PetscErrorCode DMCompositeRestoreAccess(DM,Vec,...);
PETSC_EXTERN PetscErrorCode DMCompositeGetAccessArray(DM,Vec,PetscInt,const PetscInt*,Vec*);
PETSC_EXTERN PetscErrorCode DMCompositeRestoreAccessArray(DM,Vec,PetscInt,const PetscInt*,Vec*);
PETSC_EXTERN PetscErrorCode DMCompositeGetLocalVectors(DM,...);
PETSC_EXTERN PetscErrorCode DMCompositeGetEntries(DM,...);
PETSC_EXTERN PetscErrorCode DMCompositeGetEntriesArray(DM,DM[]);
PETSC_EXTERN PetscErrorCode DMCompositeRestoreLocalVectors(DM,...);
PETSC_EXTERN PetscErrorCode DMCompositeGetGlobalISs(DM,IS*[]);
PETSC_EXTERN PetscErrorCode DMCompositeGetLocalISs(DM,IS**);
PETSC_EXTERN PetscErrorCode DMCompositeGetISLocalToGlobalMappings(DM,ISLocalToGlobalMapping**);
#endif
|