Actual source code: petscdmdef.h

petsc-3.7.5 2017-01-01
Report Typos and Errors
  2: !
  3: !  Include file for Fortran use of the DM package in PETSc
  4: !
  5: #if !defined (__PETSCDMDEF_H)

  8:  #include petsc/finclude/petscisdef.h
  9:  #include petsc/finclude/petscvecdef.h
 10:  #include petsc/finclude/petscmatdef.h

 12: #define DMBoundaryType PetscEnum

 14: #if !defined(PETSC_USE_FORTRAN_DATATYPES)
 15: #define DM               PetscFortranAddr
 16: #define PetscQuadrature  PetscFortranAddr
 17: #define PetscDS          PetscFortranAddr
 18: #define PetscFE          PetscFortranAddr
 19: #define PetscSpace       PetscFortranAddr
 20: #define PetscDualSpace   PetscFortranAddr
 21: #define PetscFV          PetscFortranAddr
 22: #define PetscLimiter     PetscFortranAddr
 23: #define PetscPartitioner PetscFortranAddr
 24: #endif

 26: #endif