Date: 2025-03-28T21:10:44+00:00

Actual source code: petscdmswarm.h

      1: !
      2: !  Used by petscdmswarmmod.F90 to create Fortran module file
      3: !
      4: #include "petsc/finclude/petscdmswarm.h"

      6: !
      7: ! DMSwarmType
      8: !
      9:       PetscEnum, parameter :: DMSWARM_BASIC = 0
     10:       PetscEnum, parameter :: DMSWARM_PIC = 1
     11: !
     12: ! DMSwarmMigrateType
     13: !
     14:       PetscEnum, parameter :: DMSWARM_MIGRATE_BASIC = 0
     15:       PetscEnum, parameter :: DMSWARM_MIGRATE_DMCELLNSCATTER = 1
     16:       PetscEnum, parameter :: DMSWARM_MIGRATE_DMCELLEXACT = 2
     17:       PetscEnum, parameter :: DMSWARM_MIGRATE_USER = 3
     18: !
     19: ! DMSwarmCollectType
     20: !
     21:       PetscEnum, parameter :: DMSWARM_COLLECT_BASIC = 0
     22:       PetscEnum, parameter :: DMSWARM_COLLECT_DMDABOUNDINGBOX = 1
     23:       PetscEnum, parameter :: DMSWARM_COLLECT_GENERAL = 2
     24:       PetscEnum, parameter :: DMSWARM_COLLECT_USER = 3
     25: !
     26: ! DMSwarmPICLayoutType
     27: !
     28:       PetscEnum, parameter :: DMSWARMPIC_LAYOUT_REGULAR = 0
     29:       PetscEnum, parameter :: DMSWARMPIC_LAYOUT_GAUSS = 1
     30:       PetscEnum, parameter :: DMSWARMPIC_LAYOUT_SUBDIVISION = 2