Skip to content

Commit

Permalink
+(*)Non-Boussinesq default for Z_INIT_REMAP_GENERAL
Browse files Browse the repository at this point in the history
  Changed the default value of Z_INIT_REMAP_GENERAL to true for fully
non-Boussinesq configurations.  All existing fully non-Boussinesq cases that use
INIT_LAYERS_FROM_Z_FILE = True use this setting, and it is likely that such
cases will not work at all if this is false.  This change reduces the parameters
that need to be changed to go between equivalent Boussinesq and non-Boussinesq
configurations to just BOUSSINESQ and SEMI_BOUSSINESQ.  The previous default
(false) is being retained for any Boussinesq or semi-Bousssinesq cases so that
all answers and output are bitwise identical in those cases, but by default some
non-Boussinesq solutions change answers, and there are changes to the
MOM_parameter_doc files for those non-Boussinesq cases.
  • Loading branch information
Hallberg-NOAA committed Sep 30, 2023
1 parent 3ef5b93 commit b1c1fa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/initialization/MOM_state_initialization.F90
Original file line number Diff line number Diff line change
Expand Up @@ -2558,7 +2558,7 @@ subroutine MOM_temp_salt_initialize_from_Z(h, tv, depth_tot, G, GV, US, PF, just
call get_param(PF, mdl, "Z_INIT_REMAP_GENERAL", remap_general, &
"If false, only initializes to z* coordinates. "//&
"If true, allows initialization directly to general coordinates.", &
default=.false., do_not_log=just_read)
default=.not.(GV%Boussinesq.or.GV%semi_Boussinesq) , do_not_log=just_read)
call get_param(PF, mdl, "Z_INIT_REMAP_FULL_COLUMN", remap_full_column, &
"If false, only reconstructs profiles for valid data points. "//&
"If true, inserts vanished layers below the valid data.", &
Expand Down

0 comments on commit b1c1fa2

Please sign in to comment.