Skip to content

Commit

Permalink
Use safer dafault min_thickness = 1.0e-3; see COSIMA/access-om2#161 (#…
Browse files Browse the repository at this point in the history
…303)

This changes the default minimum thickness from 1.0m to 1e-3m. Existing restart files may have issues with this change. If an existing run encounters errors set min_thickness = 1.0 in ocean_topog_nml to have backwards compatibility.
  • Loading branch information
aekiss authored and aidanheerdegen committed Sep 11, 2019
1 parent b8ea1c1 commit 46774ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mom5/ocean_core/ocean_topog.F90
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module ocean_topog_mod
! <DATA NAME="min_thickness" TYPE="real">
! min_thickness is only used for Mosaic grid. Since there is no kmt available
! in mosaic grid, need to set min_thickness to configure kmt based on ht and zw.
! Default min_thickness=1.0 metre.
! Default min_thickness=1.0e-3 metre.
! </DATA>
! <DATA NAME="kmt_recompute" TYPE="logical">
! To recompute the kmt array based on min_thickness. This step is not recommended
Expand Down Expand Up @@ -72,7 +72,7 @@ module ocean_topog_mod
logical :: flat_bottom = .false.
integer :: flat_bottom_kmt = 50
real :: flat_bottom_ht = 5500.0
real :: min_thickness = 1.0
real :: min_thickness = 1.0e-3
integer :: kmt_recompute_offset = 0
logical :: kmt_recompute = .false.
logical :: write_topog = .false.
Expand Down

0 comments on commit 46774ee

Please sign in to comment.