Skip to content

Commit

Permalink
fix typo...
Browse files Browse the repository at this point in the history
  • Loading branch information
alperaltuntas committed Oct 16, 2024
1 parent bc3923d commit 4e833ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ALE/MOM_ALE.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1172,7 +1172,7 @@ subroutine ALE_remap_velocities(CS, G, GV, h_old_u, h_old_v, h_new_u, h_new_v, u
ke_c_tgt = ke_c_tgt + h2(k) * (u_tgt(k) - u_bt)**2
enddo
! Next rescale baroclinic component on target grid to conserve ke
if (answer_date >= 20241016) then
if (CS%answer_date >= 20241016) then
if (ke_c_src < 1.5625 * ke_c_tgt) then
rescale_coef = sqrt(ke_c_src / ke_c_tgt)
else
Expand Down Expand Up @@ -1248,7 +1248,7 @@ subroutine ALE_remap_velocities(CS, G, GV, h_old_u, h_old_v, h_new_u, h_new_v, u
ke_c_tgt = ke_c_tgt + h2(k) * (v_tgt(k) - v_bt)**2
enddo
! Next rescale baroclinic component on target grid to conserve ke
if (answer_date >= 20241016) then
if (CS%answer_date >= 20241016) then
if (ke_c_src < 1.5625 * ke_c_tgt) then
rescale_coef = sqrt(ke_c_src / ke_c_tgt)
else
Expand Down

0 comments on commit 4e833ff

Please sign in to comment.