Skip to content

Commit

Permalink
Remove duplicate definition of DMBoundaryType (#182)
Browse files Browse the repository at this point in the history
Co-authored-by: Viral B. Shah <[email protected]>
  • Loading branch information
eschnett and ViralBShah authored Oct 3, 2024
1 parent 928f574 commit 5ccc910
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions src/const.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5ccc910

Please sign in to comment.