Skip to content

Commit

Permalink
Fix indexing bug in surface tension (#670)
Browse files Browse the repository at this point in the history
  • Loading branch information
wilfonba authored Nov 1, 2024
1 parent 44bce70 commit 38a20a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/simulation/m_surface_tension.fpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ contains
@:ALLOCATE_GLOBAL(gR_y(iy%beg:iy%end, ix%beg:ix%end, iz%beg:iz%end, num_dims + 1))

if (p > 0) then
@:ALLOCATE_GLOBAL(gL_z(iz%beg:iz%end, ix%beg:ix%end, iy%beg:iy%end, num_dims + 1))
@:ALLOCATE_GLOBAL(gR_z(iz%beg:iz%end, ix%beg:ix%end, iy%beg:iy%end, num_dims + 1))
@:ALLOCATE_GLOBAL(gL_z(iz%beg:iz%end, iy%beg:iy%end, ix%beg:ix%end, num_dims + 1))
@:ALLOCATE_GLOBAL(gR_z(iz%beg:iz%end, iy%beg:iy%end, ix%beg:ix%end, num_dims + 1))
end if
end subroutine s_initialize_surface_tension_module

Expand Down

0 comments on commit 38a20a7

Please sign in to comment.