From 5ccc91001200ec3a190c9ba1116f98afb3e95bbe Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Thu, 3 Oct 2024 03:56:57 -0400 Subject: [PATCH] Remove duplicate definition of DMBoundaryType (#182) Co-authored-by: Viral B. Shah <744411+ViralBShah@users.noreply.github.com> --- src/const.jl | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/src/const.jl b/src/const.jl index 2ab2b933..a59f2f95 100644 --- a/src/const.jl +++ b/src/const.jl @@ -15,11 +15,11 @@ const PETSC_DEFAULT = -2 const PETSC_DECIDE = PETSC_DETERMINE = -1 @enum DMBoundaryType begin - DM_BOUNDARY_NONE - DM_BOUNDARY_GHOSTED - DM_BOUNDARY_MIRROR - DM_BOUNDARY_PERIODIC - DM_BOUNDARY_TWIST + DM_BOUNDARY_NONE=0 + DM_BOUNDARY_GHOSTED=1 + DM_BOUNDARY_MIRROR=2 + DM_BOUNDARY_PERIODIC=3 + DM_BOUNDARY_TWIST=4 end @enum DMStagStencilType begin @@ -162,14 +162,6 @@ end DMSTAG_FRONT_UP_RIGHT end -@enum DMBoundaryType begin - DM_BOUNDARY_NONE=0 - DM_BOUNDARY_GHOSTED=1 - DM_BOUNDARY_MIRROR=2 - DM_BOUNDARY_PERIODIC=3 - DM_BOUNDARY_TWIST=4 -end - @enum DMDAStencilType begin DMDA_STENCIL_STAR = 0 DMDA_STENCIL_BOX = 1