Skip to content

Commit

Permalink
Merge branch 'scalandr/fix_submeso_standalone' (PR #5892)
Browse files Browse the repository at this point in the history
Fix for submesoscale parametrization in standalone

At the moment, the submesoscale parametrization does not work properly
in MPAS-O standalone, that is even if
   config_submesoscale_enable = .true.
the parametrization is not active. To solve this issue, the subroutine
ocn_submesoscale_compute_velocity() has to called in
src/mode_forward/mpas_ocn_forward_mode.F.

[BFB]
  • Loading branch information
jonbob committed Sep 25, 2023
2 parents a746149 + d9ee8f5 commit f1fe818
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -711,8 +711,12 @@ function ocn_forward_mode_run(domain) result(ierr)!{{{

call ocn_eddy_compute_mixed_layer_depth(statePool, forcingPool)
if (config_use_GM .or. config_submesoscale_enable) then
call mpas_timer_start("submesoscale eddy velocity compute", .false.)
call ocn_eddy_compute_buoyancy_gradient()
end if

if (config_submesoscale_enable) then
call mpas_timer_start("submesoscale eddy velocity compute", .false.)
call ocn_submesoscale_compute_velocity()
call mpas_timer_stop("submesoscale eddy velocity compute")
end if

Expand Down

0 comments on commit f1fe818

Please sign in to comment.