<commit_before>  ! da # of dofs enum
  PetscInt, parameter:: ONEDOF = 1
  PetscInt, parameter:: NCOMPONENTDOF = 2
  PetscInt, parameter:: NCOMPONENTXBDOF = 3
  PetscInt, parameter:: NFLOWDOF = 4
  PetscInt, parameter:: NSPECIEDOF = 5
  PetscInt, parameter:: NSPECIEXBDOF = 6

  ! discretizations
  PetscInt, parameter:: NULL_DISCRETIZATION = 0
  PetscInt, parameter:: D3Q19_DISCRETIZATION = 1
  PetscInt, parameter:: D2Q9_DISCRETIZATION = 2

  ! walls type enum
  PetscInt, parameter:: WALLS_TYPE_PETSC = 1
  PetscInt, parameter:: WALLS_TYPE_FUNCTION = 2

  ! string lengths
  PetscInt, parameter :: MAXHEADERLENGTH = 2048
  PetscInt, parameter :: MAXSTRINGLENGTH = 512
  PetscInt, parameter :: MAXWORDLENGTH = 32
  PetscInt, parameter :: MAXIODIGITS = 3

  ! directions
  PetscInt, parameter :: X_DIRECTION = 1
  PetscInt, parameter :: Y_DIRECTION = 2
  PetscInt, parameter :: Z_DIRECTION = 3

  ! Flow BCs
  PetscInt, parameter :: BC_PERIODIC = 0
  PetscInt, parameter :: BC_PSEUDOPERIODIC = 1
  PetscInt, parameter :: BC_FLUX = 2
  PetscInt, parameter :: BC_DIRICHLET = 3
  PetscInt, parameter :: BC_ZERO_GRADIENT = 4
  PetscInt, parameter :: BC_VELOCITY = 5
  
  ! boundaries
  PetscInt, parameter :: BOUNDARY_XM = 1
  PetscInt, parameter :: BOUNDARY_XP = 2
  PetscInt, parameter :: BOUNDARY_YM = 3
  PetscInt, parameter :: BOUNDARY_YP = 4
  PetscInt, parameter :: BOUNDARY_ZM = 5
  PetscInt, parameter :: BOUNDARY_ZP = 6

  ! cardinal directions: 
  ! CARDINAL_NORMAL cross CARDINAL_CROSS = CARDINAL_RESULTANT
  ! under a right-hand-rule
  PetscInt, parameter :: CARDINAL_NORMAL = 1
  PetscInt, parameter :: CARDINAL_CROSS = 2
  PetscInt, parameter :: CARDINAL_RESULTANT = 3

  ! fluid types
  PetscInt, parameter :: NULL_FLUID_TYPE = 0
  PetscInt, parameter :: COMPONENT_FLUID_TYPE = 0
  PetscInt, parameter :: SPECIE_FLUID_TYPE = 0

  ! relaxation types
  PetscInt, parameter :: RELAXATION_MODE_SRT = 0
  PetscInt, parameter :: RELAXATION_MODE_MRT = 1

  ! max cruft for bags, these can be arbitrarily
  ! increased with no memory problems as nothing
  ! is actually allocated of this size
  PetscInt, parameter :: NMAX_COMPONENTS = 5
  PetscInt, parameter :: NMAX_DIRECTIONS = 27
  

  ! cruft for use with pflotran
  PetscInt, parameter :: LBM_MODE = 8

  ! EOS types, see Yuan and Schaeffer 06
  PetscInt, parameter :: EOS_NULL = 0
  PetscInt, parameter :: EOS_DENSITY = 1    ! psi = rho
  PetscInt, parameter :: EOS_SC = 2         ! psi = rho0*(1-exp(-rho)), Shan & Chen '93/'94
  PetscInt, parameter :: EOS_PR = 3         ! psi = cubic law from Peng & Robinson '??, 
  PetscInt, parameter :: EOS_THERMO = 4     ! psi = psi0*exp(-rho0/rho), see Shan & Chen '94


  ! this sucks
  PetscInt, parameter :: ZERO_I = 0
  PetscInt, parameter :: ONE_I = 1  
  PetscInt, parameter :: NEG_ONE_I = -1  
  PetscInt, parameter :: TWO_I = 2
  PetscInt, parameter :: THREE_I = 3
  PetscInt, parameter :: FOUR_I = 4
  PetscInt, parameter :: EIGHT_I = 8
  PetscInt, parameter :: TEN_I = 10

  PetscScalar, parameter :: ZERO_S = 0.
  PetscScalar, parameter :: ONE_S = 1.  
  PetscScalar, parameter :: NEG_ONE_S = -1.  
  PetscScalar, parameter :: TWO_S = 2.
  PetscScalar, parameter :: THREE_S = 3.
  PetscScalar, parameter :: NEG_NINENINENINE_S = -999.

  ! walls enum for special values
  PetscInt,parameter :: WALL_PORESPACE = 0. ! note this is not used frequently, most places have wall(i,j,k).eq.0
  PetscInt,parameter :: WALL_GHOST = 999.
  PetscInt,parameter :: WALL_NORMAL_X = 900. ! this wall allows for no-stick condition for a wall oriented with x-normal
  PetscInt,parameter :: WALL_NORMAL_Y = 901. ! this wall allows for no-stick condition for a wall oriented with y-normal
  PetscInt,parameter :: WALL_NORMAL_Z = 902. ! this wall allows for no-stick condition for a wall oriented with z-normal
                                             ! anything else will get the no-slip bounceback condition
<commit_msg>bug fix, though it should not have affected anything<commit_after>  ! da # of dofs enum
  PetscInt, parameter:: ONEDOF = 1
  PetscInt, parameter:: NCOMPONENTDOF = 2
  PetscInt, parameter:: NCOMPONENTXBDOF = 3
  PetscInt, parameter:: NFLOWDOF = 4
  PetscInt, parameter:: NSPECIEDOF = 5
  PetscInt, parameter:: NSPECIEXBDOF = 6

  ! discretizations
  PetscInt, parameter:: NULL_DISCRETIZATION = 0
  PetscInt, parameter:: D3Q19_DISCRETIZATION = 1
  PetscInt, parameter:: D2Q9_DISCRETIZATION = 2

  ! walls type enum
  PetscInt, parameter:: WALLS_TYPE_PETSC = 1
  PetscInt, parameter:: WALLS_TYPE_FUNCTION = 2

  ! string lengths
  PetscInt, parameter :: MAXHEADERLENGTH = 2048
  PetscInt, parameter :: MAXSTRINGLENGTH = 512
  PetscInt, parameter :: MAXWORDLENGTH = 32
  PetscInt, parameter :: MAXIODIGITS = 3

  ! directions
  PetscInt, parameter :: X_DIRECTION = 1
  PetscInt, parameter :: Y_DIRECTION = 2
  PetscInt, parameter :: Z_DIRECTION = 3

  ! Flow BCs
  PetscInt, parameter :: BC_PERIODIC = 0
  PetscInt, parameter :: BC_PSEUDOPERIODIC = 1
  PetscInt, parameter :: BC_FLUX = 2
  PetscInt, parameter :: BC_DIRICHLET = 3
  PetscInt, parameter :: BC_ZERO_GRADIENT = 4
  PetscInt, parameter :: BC_VELOCITY = 5
  
  ! boundaries
  PetscInt, parameter :: BOUNDARY_XM = 1
  PetscInt, parameter :: BOUNDARY_XP = 2
  PetscInt, parameter :: BOUNDARY_YM = 3
  PetscInt, parameter :: BOUNDARY_YP = 4
  PetscInt, parameter :: BOUNDARY_ZM = 5
  PetscInt, parameter :: BOUNDARY_ZP = 6

  ! cardinal directions: 
  ! CARDINAL_NORMAL cross CARDINAL_CROSS = CARDINAL_RESULTANT
  ! under a right-hand-rule
  PetscInt, parameter :: CARDINAL_NORMAL = 1
  PetscInt, parameter :: CARDINAL_CROSS = 2
  PetscInt, parameter :: CARDINAL_RESULTANT = 3

  ! fluid types
  PetscInt, parameter :: NULL_FLUID_TYPE = 0
  PetscInt, parameter :: COMPONENT_FLUID_TYPE = 0
  PetscInt, parameter :: SPECIE_FLUID_TYPE = 0

  ! relaxation types
  PetscInt, parameter :: RELAXATION_MODE_SRT = 0
  PetscInt, parameter :: RELAXATION_MODE_MRT = 1

  ! max cruft for bags, these can be arbitrarily
  ! increased with no memory problems as nothing
  ! is actually allocated of this size
  PetscInt, parameter :: NMAX_COMPONENTS = 5
  PetscInt, parameter :: NMAX_DIRECTIONS = 27
  

  ! cruft for use with pflotran
  PetscInt, parameter :: LBM_MODE = 8

  ! EOS types, see Yuan and Schaeffer 06
  PetscInt, parameter :: EOS_NULL = 0
  PetscInt, parameter :: EOS_DENSITY = 1    ! psi = rho
  PetscInt, parameter :: EOS_SC = 2         ! psi = rho0*(1-exp(-rho)), Shan & Chen '93/'94
  PetscInt, parameter :: EOS_PR = 3         ! psi = cubic law from Peng & Robinson '??, 
  PetscInt, parameter :: EOS_THERMO = 4     ! psi = psi0*exp(-rho0/rho), see Shan & Chen '94


  ! this sucks
  PetscInt, parameter :: ZERO_I = 0
  PetscInt, parameter :: ONE_I = 1  
  PetscInt, parameter :: NEG_ONE_I = -1  
  PetscInt, parameter :: TWO_I = 2
  PetscInt, parameter :: THREE_I = 3
  PetscInt, parameter :: FOUR_I = 4
  PetscInt, parameter :: EIGHT_I = 8
  PetscInt, parameter :: TEN_I = 10

  PetscScalar, parameter :: ZERO_S = 0.
  PetscScalar, parameter :: ONE_S = 1.  
  PetscScalar, parameter :: NEG_ONE_S = -1.  
  PetscScalar, parameter :: TWO_S = 2.
  PetscScalar, parameter :: THREE_S = 3.
  PetscScalar, parameter :: NEG_NINENINENINE_S = -999.

  ! walls enum for special values
  PetscScalar,parameter :: WALL_PORESPACE = 0.0 ! note this is not used frequently, most places have wall(i,j,k).eq.0
  PetscScalar,parameter :: WALL_GHOST = 999.0
  PetscScalar,parameter :: WALL_NORMAL_X = 900.0 ! this wall allows for no-stick condition for a wall oriented with x-normal
  PetscScalar,parameter :: WALL_NORMAL_Y = 901.0 ! this wall allows for no-stick condition for a wall oriented with y-normal
  PetscScalar,parameter :: WALL_NORMAL_Z = 902.0 ! this wall allows for no-stick condition for a wall oriented with z-normal
                                             ! anything else will get the no-slip bounceback condition

{'fraction_non_alphanumeric': 0.09007981755986318, 'fraction_numerical': 0.026225769669327253, 'mean_word_length': 3.6244874048037494, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '781691', 'n_tokens_mistral': 2977, 'n_tokens_neox': 2724, 'n_words': 800}