19 subroutine cu_gf_driver_post_run (im, km, t, q, prevst, prevsq, cactiv, cactiv_m, conv_act, conv_act_m, 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) :: prevst(:,:)
30 real(kind_phys),
intent(out) :: prevsq(:,:)
31 integer,
intent(in) :: cactiv(:)
32 integer,
intent(in) :: cactiv_m(:)
33 real(kind_phys),
intent(out) :: conv_act(:)
34 real(kind_phys),
intent(out) :: conv_act_m(:)
35 integer,
intent(in) :: ntsmoke, ntdust, ntcoarsepm
36 real(kind_phys),
intent(inout),
optional :: chem3d(:,:,:)
37 real(kind_phys),
intent(inout) :: gq0(:,:,:)
38 character(len=*),
intent(out) :: errmsg
40 integer,
intent(out) :: errflg
54 if (cactiv(i).gt.0)
then
55 conv_act(i) = conv_act(i)+1.0
59 if (cactiv_m(i).gt.0)
then
60 conv_act_m(i) = conv_act_m(i)+1.0
66 if (
present(chem3d))
then
67 gq0(:,:,ntsmoke ) = chem3d(:,:,1)
68 gq0(:,:,ntdust ) = chem3d(:,:,2)
69 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, ntsmoke, ntdust, ntcoarsepm, chem3d, gq0, errmsg, errflg)
This module contains code related to GF convective schemes to be used within the GFS physics suite.