MOM5
MOM5 copied to clipboard
logical write_a_restart is used inconsistently
The logical variable write_a_restart
is used in many places to control whether a restart file is written, but there are three places where it is not used, and a restart file is written unconditionally. These are:
-
subroutine ice_model_end
in src/ice_sis/ice_type.F90 -
subroutine ocean_sfc_end
in src/mom5/ocean_core/ocean_sbc.F90 -
subroutine ocean_velocity_end
in src/mom5/ocean_core/ocean_velocity.F90. In this last case,write_a_restart
is used incorrectly insubroutine ocean_veclocity_chksum
in the same file.