Skip to content

Commit

Permalink
add dbgout for evolve
Browse files Browse the repository at this point in the history
  • Loading branch information
jons-pf committed Oct 17, 2024
1 parent db57131 commit 98cfd39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/TimeStep/evolve.f
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,11 @@ SUBROUTINE evolve(time_step, ier_flag, liter_flag, lscreen)
! debugging output: xc, xcdot, gc before time step; xc and xcdot also after time step
dbg_evolve = open_dbg_context("evolve", num_eqsolve_retries)
if (dbg_evolve) then
call add_real_5d("xc_before", 3, ntmax, ns, ntor1, mpol, &
call add_real_5d("xc_before", 3, ntmax, ns, ntor1, mpol, &
& xc, order=(/ 4, 5, 3, 2, 1 /) )
call add_real_5d("xcdot_before", 3, ntmax, ns, ntor1, mpol, &
& xcdot, order=(/ 4, 5, 3, 2, 1 /) )
call add_real_5d("gc", 3, ntmax, ns, ntor1, mpol, &
call add_real_5d("gc", 3, ntmax, ns, ntor1, mpol, &
& gc, order=(/ 4, 5, 3, 2, 1 /) )
end if

Expand All @@ -244,7 +244,7 @@ SUBROUTINE evolve(time_step, ier_flag, liter_flag, lscreen)
END IF

if (dbg_evolve) then
call add_real_5d("xc_after", 3, ntmax, ns, ntor1, mpol, &
call add_real_5d("xc_after", 3, ntmax, ns, ntor1, mpol, &
& xc, order=(/ 4, 5, 3, 2, 1 /) )
call add_real_5d("xcdot_after", 3, ntmax, ns, ntor1, mpol, &
& xcdot, order=(/ 4, 5, 3, 2, 1 /) )
Expand Down

0 comments on commit 98cfd39

Please sign in to comment.