2: ! 3: ! Include file for Fortran use of the DM (distributed array) package in PETSc 4: ! 5: #include finclude/petscdmdadef.h 7: ! 8: ! Types of stencils 9: ! 10: PetscEnum DMDA_STENCIL_STAR 11: PetscEnum DMDA_STENCIL_BOX 13: parameter (DMDA_STENCIL_STAR = 0,DMDA_STENCIL_BOX = 1) 14: ! 15: ! Types of periodicity 16: ! 17: PetscEnum DMDA_BOUNDARY_NONE 18: PetscEnum DMDA_BOUNDARY_GHOSTED 19: PetscEnum DMDA_BOUNDARY_MIRROR 20: PetscEnum DMDA_BOUNDARY_PERIODIC 22: parameter (DMDA_BOUNDARY_NONE = 0) 23: parameter (DMDA_BOUNDARY_GHOSTED = 1) 24: parameter (DMDA_BOUNDARY_MIRROR = 2) 25: parameter (DMDA_BOUNDARY_PERIODIC = 3) 27: ! 28: ! DMDAInterpolationType 29: ! 30: PetscEnum DMDA_Q0 31: PetscEnum DMDA_Q1 32: parameter (DMDA_Q0=0,DMDA_Q1=1) 34: ! 35: ! DMDAElementType 36: ! 37: PetscEnum DMDA_ELEMENT_P1 38: PetscEnum DMDA_ELEMENT_Q1 39: parameter(DMDA_ELEMENT_P1=0,DMDA_ELEMENT_Q1=1) 40: ! 41: ! DMDA Directions 42: ! 43: PetscEnum DMDA_X 44: PetscEnum DMDA_Y 45: PetscEnum DMDA_Z 47: parameter (DMDA_X = 0,DMDA_Y = 1,DMDA_Z = 2) 48: ! 49: ! End of Fortran include file for the DM package in PETSc