Skip to content

Commit

Permalink
Fix force estimation
Browse files Browse the repository at this point in the history
  • Loading branch information
mathrack committed Dec 9, 2024
1 parent e26a31d commit 1192570
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/forces.f90
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ subroutine forces_unst(rhs_dux, rhs_duy, px, py, dt)
do k = 1, xsize(3)
do j = 1, xsize(2)
do i = 1, xsize(1)
dux(i,j,k) = rhs_dux(i,j,k) - px(i,j,k) / dt
duy(i,j,k) = rhs_duy(i,j,k) - py(i,j,k) / dt
dux(i,j,k) = dt*rhs_dux(i,j,k) - px(i,j,k)
duy(i,j,k) = dt*rhs_duy(i,j,k) - py(i,j,k)
end do
end do
end do
Expand Down

0 comments on commit 1192570

Please sign in to comment.