USER_PROBLEM: Reset acc in gravitational_acceleration_user().

Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
This commit is contained in:
Grzegorz Kowal 2017-03-09 16:26:28 -03:00
parent 063a6b1db4
commit 322b8a141b

View File

@ -407,6 +407,10 @@ module user_problem
call start_timer(img)
#endif /* PROFILE */
! reset gravitational acceleration
!
acc(:) = 0.0d+00
#ifdef PROFILE
! stop accounting time for the gravitational acceleration calculation
!