Skip to content

Commit

Permalink
Merge branch 'concepts/tf-nonlin' into 'concepts/main' (!29)
Browse files Browse the repository at this point in the history
icepack: add tfrz_option='nonlin' in icepack_liquidus_temperature
  • Loading branch information
phil-blain committed Sep 12, 2023
2 parents 9b3d3c1 + e7c4550 commit 7ea78bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion cicecore/cicedynB/general/ice_init.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1342,10 +1342,12 @@ subroutine input_data

! tcraig, is it really OK for users to run inconsistently?
! ech: yes, for testing sensitivities. It's not recommended for science runs
if (ktherm == 1 .and. trim(tfrz_option) /= 'linear_salt') then
if (ktherm == 1 .and. (trim(tfrz_option) /= 'linear_salt' .or. &
trim(tfrz_option) /= 'nonlin')) then
if (my_task == master_task) then
write(nu_diag,*) subname//' WARNING: ktherm = 1 and tfrz_option = ',trim(tfrz_option)
write(nu_diag,*) subname//' WARNING: For consistency, set tfrz_option = linear_salt'
write(nu_diag,*) subname//' WARNING: or tfrz_option = nonlin'
endif
endif
if (ktherm == 2 .and. trim(tfrz_option) /= 'mushy') then
Expand Down
2 changes: 1 addition & 1 deletion icepack
Submodule icepack updated from 1464ef to c0d355

0 comments on commit 7ea78bf

Please sign in to comment.