@@ -751,7 +751,6 @@ subroutine Run2 (GC, import, export, clock, RC)
751751 type (NI2G_GridComp), pointer :: self
752752
753753 real , allocatable , dimension (:,:) :: drydepositionfrequency, dqa
754- real :: fwet
755754 logical :: KIN
756755 real , allocatable , target , dimension (:,:,:) :: fluxoutWT
757756 real , allocatable , dimension (:,:,:,:) :: aerosol
@@ -933,22 +932,20 @@ subroutine Run2 (GC, import, export, clock, RC)
933932 end if
934933! NH3
935934 KIN = .false.
936- fwet = 1 .
937935 nullify(fluxWT_ptr)
938936 if (associated (NH3WT)) fluxWT_ptr = > fluxoutWT
939937 call WetRemovalGOCART2G (self% km, self% klid, self% nbins, self% nbins, 1 , self% cdt, ' NH3' , &
940- KIN, MAPL_GRAV, fwet, NH3, ple, t, airdens, &
938+ KIN, MAPL_GRAV, self % fwet( 1 ) , NH3, ple, t, airdens, &
941939 pfl_lsan, pfi_lsan, cn_prcp, ncn_prcp, fluxWT_ptr, __RC__)
942940! Save local copy of HNO3 for first pass through run method regardless
943941 if (associated (NH3WT)) NH3WT = fluxWT_ptr(:,:,1 )
944942
945943! NH4a
946944 KIN = .true.
947- fwet = 1 .
948945 nullify(fluxWT_ptr)
949946 if (associated (NH4WT)) fluxWT_ptr = > fluxoutWT
950947 call WetRemovalGOCART2G(self% km, self% klid, self% nbins, self% nbins, 1 , self% cdt, ' NH4a' , &
951- KIN, MAPL_GRAV, fwet, NH4a, ple, t, airdens, &
948+ KIN, MAPL_GRAV, self % fwet( 2 ) , NH4a, ple, t, airdens, &
952949 pfl_lsan, pfi_lsan, cn_prcp, ncn_prcp, fluxWT_ptr, __RC__)
953950 if (associated (NH4WT)) NH4WT = fluxWT_ptr(:,:,1 )
954951
@@ -957,21 +954,18 @@ subroutine Run2 (GC, import, export, clock, RC)
957954 end if
958955
959956 KIN = .true.
960- fwet = 1 .
961957 call WetRemovalGOCART2G(self% km, self% klid, self% nbins, self% nbins, 1 , self% cdt, ' nitrate' , &
962- KIN, MAPL_GRAV, fwet, NO3an1, ple, t, airdens, &
958+ KIN, MAPL_GRAV, self % fwet( 3 ) , NO3an1, ple, t, airdens, &
963959 pfl_lsan, pfi_lsan, cn_prcp, ncn_prcp, NIWT, __RC__)
964960
965961 KIN = .true.
966- fwet = 1 .
967962 call WetRemovalGOCART2G(self% km, self% klid, self% nbins, self% nbins, 2 , self% cdt, ' nitrate' , &
968- KIN, MAPL_GRAV, fwet, NO3an2, ple, t, airdens, &
963+ KIN, MAPL_GRAV, self % fwet( 4 ) , NO3an2, ple, t, airdens, &
969964 pfl_lsan, pfi_lsan, cn_prcp, ncn_prcp, NIWT, __RC__)
970965
971966 KIN = .true.
972- fwet = 0.3
973967 call WetRemovalGOCART2G(self% km, self% klid, self% nbins, self% nbins, 3 , self% cdt, ' nitrate' , &
974- KIN, MAPL_GRAV, fwet, NO3an3, ple, t, airdens, &
968+ KIN, MAPL_GRAV, self % fwet( 5 ) , NO3an3, ple, t, airdens, &
975969 pfl_lsan, pfi_lsan, cn_prcp, ncn_prcp, NIWT, __RC__)
976970
977971! Save local copy of HNO3 for first pass through run method regardless
0 commit comments