19 subroutine cu_gf_driver_post_run (im, km, t, q, prevst, prevsq, cactiv, cactiv_m, conv_act, conv_act_m, rrfs_sd, ntsmoke, ntdust, ntcoarsepm, chem3d, gq0, errmsg, errflg)
21 use machine,
only: kind_phys
26 integer,
intent(in) :: im, km
27 real(kind_phys),
intent(in) :: t(:,:)
28 real(kind_phys),
intent(in) :: q(:,:)
29 real(kind_phys),
intent(out),
optional :: prevst(:,:)
30 real(kind_phys),
intent(out),
optional :: prevsq(:,:)
31 integer,
intent(in),
optional :: cactiv(:)
32 integer,
intent(in),
optional :: cactiv_m(:)
33 real(kind_phys),
intent(out),
optional :: conv_act(:)
34 real(kind_phys),
intent(out),
optional :: conv_act_m(:)
35 logical,
intent(in) :: rrfs_sd
36 integer,
intent(in) :: ntsmoke, ntdust, ntcoarsepm
37 real(kind_phys),
intent(inout),
optional :: chem3d(:,:,:)
38 real(kind_phys),
intent(inout) :: gq0(:,:,:)
39 character(len=*),
intent(out) :: errmsg
41 integer,
intent(out) :: errflg
55 if (cactiv(i).gt.0)
then
56 conv_act(i) = conv_act(i)+1.0
60 if (cactiv_m(i).gt.0)
then
61 conv_act_m(i) = conv_act_m(i)+1.0
68 gq0(:,:,ntsmoke ) = chem3d(:,:,1)
69 gq0(:,:,ntdust ) = chem3d(:,:,2)
70 gq0(:,:,ntcoarsepm) = chem3d(:,:,3)
subroutine, public cu_gf_driver_post_run(im, km, t, q, prevst, prevsq, cactiv, cactiv_m, conv_act, conv_act_m, rrfs_sd, ntsmoke, ntdust, ntcoarsepm, chem3d, gq0, errmsg, errflg)
This module contains code related to GF convective schemes to be used within the GFS physics suite.