Skip to content

Commit

Permalink
add domain to RK4 subroutine
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-petersen authored and vanroekel committed Sep 21, 2023
1 parent 9cd7f13 commit 5c6f47c
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ subroutine ocn_time_integrator_rk4(domain, dt)!{{{
! Rescale tracers
block => domain % blocklist
do while(associated(block))
call ocn_time_integrator_rk4_cleanup(block, dt, err)
call ocn_time_integrator_rk4_cleanup(domain, block, dt, err)

block => block % next
end do
Expand Down Expand Up @@ -1549,7 +1549,8 @@ subroutine ocn_time_integrator_rk4_accumulate_update(block, rkWeight, err)!{{{
end subroutine ocn_time_integrator_rk4_accumulate_update!}}}
subroutine ocn_time_integrator_rk4_cleanup(block, dt, err)!{{{
subroutine ocn_time_integrator_rk4_cleanup(domain, block, dt, err)!{{{
type (domain_type), intent(inout) :: domain !< Input/Output: domain information
type (block_type), intent(in) :: block
real (kind=RKIND), intent(in) :: dt
integer, intent(out) :: err
Expand Down

0 comments on commit 5c6f47c

Please sign in to comment.