Skip to content

Commit

Permalink
+Correct description of SPLIT_RK2B
Browse files Browse the repository at this point in the history
  Corrected the description of the runtime parameter SPLIT_RK2B that will appear
in the MOM_parameter_doc files and in the doxygen descriptions of the MOM module
to better reflect what was ultimately being done with this new scheme.  All
answers are bitwise identical, but there are changes to the (newly added)
contents of some MOM_parameter_doc files.
  • Loading branch information
Hallberg-NOAA authored and marshallward committed Dec 22, 2023
1 parent 9d57c15 commit 5137442
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/core/MOM.F90
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,9 @@ module MOM
!! undocumented run-time flag that is fragile.
logical :: split !< If true, use the split time stepping scheme.
logical :: use_alt_split !< If true, use a version of the split explicit time stepping
!! with a heavier emphasis on consistent tranports between the
!! layered and barotroic variables.
!! scheme that exchanges velocities with step_MOM that have the
!! average barotropic phase over a baroclinic timestep rather
!! than the instantaneous barotropic phase.
logical :: use_RK2 !< If true, use RK2 instead of RK3 in unsplit mode
!! (i.e., no split between barotropic and baroclinic).
logical :: interface_filter !< If true, apply an interface height filter immediately
Expand Down Expand Up @@ -2174,8 +2175,9 @@ subroutine initialize_MOM(Time, Time_init, param_file, dirs, CS, &
call get_param(param_file, "MOM", "SPLIT", CS%split, &
"Use the split time stepping if true.", default=.true.)
call get_param(param_file, "MOM", "SPLIT_RK2B", CS%use_alt_split, &
"If true, use a version of the split explicit time stepping with a heavier "//&
"emphasis on consistent tranports between the layered and barotroic variables.", &
"If true, use a version of the split explicit time stepping scheme that "//&
"exchanges velocities with step_MOM that have the average barotropic phase over "//&
"a baroclinic timestep rather than the instantaneous barotropic phase.", &
default=.false., do_not_log=.not.CS%split)
if (CS%split) then
CS%use_RK2 = .false.
Expand Down

0 comments on commit 5137442

Please sign in to comment.