You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inside of CAM's version of physics_update, there are two sections which impact water species, but have not been implemented in CAM-SIMA yet. These sections are:
! don't call qneg3 for number concentration variables
if (m /= ixnumice .and. m /= ixnumliq .and. &
m /= ixnumrain .and. m /= ixnumsnow ) then
call qneg3(trim(ptend%name), state%lchnk, ncol, state%psetcols, pver, m, m, qmin(m:m), state%q(:,1:pver,m:m))
else
do k = ptend%top_level, ptend%bot_level
! checks for number concentration
state%q(:ncol,k,m) = max(1.e-12_r8,state%q(:ncol,k,m))
state%q(:ncol,k,m) = min(1.e10_r8,state%q(:ncol,k,m))
end do
end if
! Enforce a minimum non-zero value.
if (ixcldliq > 1) then
if(ptend%lq(ixcldliq)) then
#ifdef PERGRO
if ( any(ptend%name == pergro_cldlim_names) ) &
call state_cnst_min_nz(1.e-12_r8, ixcldliq, ixnumliq)
#endif
if ( any(ptend%name == cldlim_names) ) &
call state_cnst_min_nz(1.e-36_r8, ixcldliq, ixnumliq)
end if
end if
if (ixcldice > 1) then
if(ptend%lq(ixcldice)) then
#ifdef PERGRO
if ( any(ptend%name == pergro_cldlim_names) ) &
call state_cnst_min_nz(1.e-12_r8, ixcldice, ixnumice)
#endif
if ( any(ptend%name == cldlim_names) ) &
call state_cnst_min_nz(1.e-36_r8, ixcldice, ixnumice)
end if
end if
Without these changes, a test run of ZM code using snapshots generated with the unaltered physics_update code gives the following differences:
With the above three sections of code commented out in the CAM run which made the snapshot files, the identical ZM code gives the following differences:
Inside of CAM's version of physics_update, there are two sections which impact water species, but have not been implemented in CAM-SIMA yet. These sections are:
Without these changes, a test run of ZM code using snapshots generated with the unaltered physics_update code gives the following differences:
With the above three sections of code commented out in the CAM run which made the snapshot files, the identical ZM code gives the following differences:
The text was updated successfully, but these errors were encountered: