Skip to content

Commit

Permalink
Merge pull request #557 from FESOM/refactoring_bugfix_meshinit
Browse files Browse the repository at this point in the history
mesh initialization bug fix
  • Loading branch information
patrickscholz committed Jan 19, 2024
2 parents 2695a5d + 52423a7 commit 5e80915
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fvom_init.F90
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ subroutine find_levels(mesh)
!___________________________________________________________
! loop over neighbouring triangles
do i=1,nneighb
if (elems(i)>1) then
if (elems(i)>0) then
if (nlevels(elems(i))>=nz) then
!count neighbours
count_neighb_open=count_neighb_open+1
Expand Down

0 comments on commit 5e80915

Please sign in to comment.