From 74cbc69b214660c0c45cbf16b6dc6552d4247262 Mon Sep 17 00:00:00 2001 From: jatkinson1000 Date: Thu, 5 Sep 2024 03:12:03 -0600 Subject: [PATCH] Update comment on number concentration calculation to be clearer and clarify we have another check later in physics_update(). --- src/physics/cam/yog_intr.F90 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/physics/cam/yog_intr.F90 b/src/physics/cam/yog_intr.F90 index bdd6365f89..9311f11139 100644 --- a/src/physics/cam/yog_intr.F90 +++ b/src/physics/cam/yog_intr.F90 @@ -232,10 +232,10 @@ subroutine yog_tend(ztodt, state, ptend) call outfld('YOGDLIQ ',ptend%q(1,1,ixcldliq) ,pcols ,lchnk ) call outfld('YOGPREC ',yog_precsfc ,pcols ,lchnk ) - ! Update the number concentration tendencies for liquid and ice species - ! Values taken to match those in the `clubb_tend_cam()` subroutine - ! YOG can produce negative number tendency, but we must ensure it doesn't reduce total - ! number concentration below 0.0 + ! Update the number concentration tendencies for liquid and ice species for all cells + ! Match calculations in the `clubb_tend_cam()` subroutine + ! YOG could produce negative number tendency, so we ensure it doesn't reduce total + ! number concentration below 0.0 - note that a check on this is also made in physics_update() call cnst_get_ind('NUMLIQ', ixnumliq) call cnst_get_ind('NUMICE', ixnumice) do k = 1, pver