Actual source code: petscdm.h
petsc-3.10.5 2019-03-28
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/petscis.h"
      9: #include "petsc/finclude/petscvec.h"
     10: #include "petsc/finclude/petscmat.h"

     12: #define DMType character*(80)
     13: #define DMBoundaryType      PetscEnum
     14: #define DMPointLocationType PetscEnum
     15: #define DMAdaptationType    PetscEnum
     16: #define DMAdaptFlag         PetscEnum
     17: #define PetscUnit           PetscEnum
     18: #define DMAdaptationStrategy PetscEnum

     20: #define DM               type(tDM)

     22: #define DMAdaptor        PetscFortranAddr
     23: #define PetscQuadrature  PetscFortranAddr
     24: #define PetscDS          PetscFortranAddr
     25: #define PetscFE          PetscFortranAddr
     26: #define PetscSpace       PetscFortranAddr
     27: #define PetscDualSpace   PetscFortranAddr
     28: #define PetscFV          PetscFortranAddr
     29: #define PetscLimiter     PetscFortranAddr
     30: #define PetscPartitioner PetscFortranAddr
     31: #define DMField          PetscFortranAddr

     34: #define DMDA        'da'
     35: #define DMCOMPOSITE 'composite'
     36: #define DMSLICED    'sliced'
     37: #define DMSHELL     'shell'
     38: #define DMPLEX      'plex'
     39: #define DMREDUNDANT 'redundant'
     40: #define DMPATCH     'patch'
     41: #define DMMOAB      'moab'
     42: #define DMNETWORK   'network'
     43: #define DMFOREST    'forest'
     44: #define DMP4EST     'p4est'
     45: #define DMP8EST     'p8est'
     46: #define DMSWARM     'swarm'

     48: #endif