Skip to content

Commit 1192570

Browse files
committed
Fix force estimation
1 parent e26a31d commit 1192570

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/forces.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@ subroutine forces_unst(rhs_dux, rhs_duy, px, py, dt)
195195
do k = 1, xsize(3)
196196
do j = 1, xsize(2)
197197
do i = 1, xsize(1)
198-
dux(i,j,k) = rhs_dux(i,j,k) - px(i,j,k) / dt
199-
duy(i,j,k) = rhs_duy(i,j,k) - py(i,j,k) / dt
198+
dux(i,j,k) = dt*rhs_dux(i,j,k) - px(i,j,k)
199+
duy(i,j,k) = dt*rhs_duy(i,j,k) - py(i,j,k)
200200
end do
201201
end do
202202
end do

0 commit comments

Comments
 (0)