We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 983ae34 commit f5abb8dCopy full SHA for f5abb8d
1 file changed
src/simulation/m_bubbles_EL.fpp
@@ -1510,6 +1510,8 @@ contains
1510
do while (pos(3) >= z_cb(cell(3)))
1511
cell(3) = cell(3) + 1
1512
end do
1513
+ else
1514
+ cell(3) = 0
1515
end if
1516
1517
! The numbering of the cell of which left boundary is the domain boundary is 0. if comp.coord of the pos is s, the real
@@ -1521,10 +1523,6 @@ contains
1521
1523
scoord(2) = cell(2) + (pos(2) - y_cb(cell(2) - 1))/dy(cell(2))
1522
1524
scoord(3) = 0._wp
1525
if (p > 0) scoord(3) = cell(3) + (pos(3) - z_cb(cell(3) - 1))/dz(cell(3))
- cell(:) = int(scoord(:))
- do i = 1, num_dims
1526
- if (scoord(i) < 0._wp) cell(i) = cell(i) - 1
1527
- end do
1528
1529
end subroutine s_locate_cell
1530
0 commit comments