Skip to content

Commit

Permalink
debug checksums pre/post oda
Browse files Browse the repository at this point in the history
  • Loading branch information
MJHarrison-GFDL committed Apr 14, 2021
1 parent dac7180 commit 165176b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/core/MOM.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1265,7 +1265,13 @@ subroutine step_MOM_thermo(CS, G, GV, US, u, v, h, tv, fluxes, dtdia, &
call enable_averages(dtdia, Time_end_thermo, CS%diag)

if (associated(CS%odaCS)) then
if (CS%debug) then
call MOM_thermo_chksum("Pre-oda ", tv, G, US, haloshift=0)
endif
call apply_oda_tracer_increments(US%T_to_s*dtdia, Time_end_thermo, G, GV, tv, h, CS%odaCS)
if (CS%debug) then
call MOM_thermo_chksum("Post-oda ", tv, G, US, haloshift=0)
endif
endif

if (associated(fluxes%p_surf) .or. associated(fluxes%p_surf_full)) then
Expand Down

0 comments on commit 165176b

Please sign in to comment.