Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers/nemo_concepts: let 'ktherm=-1' only disable thermodynamics
When CICE learned to disable the thermodynamics in 83686a3 (Implement box model test from 2001 JCP paper (CICE-Consortium#151), 2018-10-22), it was not envisioned that this capability would be used with 'calc_strair = .true.'. This currently does not work (the atmospheric stresses are always zero). This is because they are computed in 'icepack_atmo::icepack_atm_boundary', called from 'icepack_therm_vertical::icepack_step_therm1', itself called from 'ice_step_mod::step_therm1', a call which is skipped if thermodynamics is disabled ('ktherm<0'). Adjust the logic in ice_step to always call 'step_therm1', and update Icepack to a commit in which some parts of the computation in 'icepack_step_therm1' are only done if 'ktherm >= 0', while others (namely the computation of the atmospheric stresses) are always done.
- Loading branch information