Changeset 2826 for trunk/LMDZ.MARS/libf/phymars/vdifc_mod.F
- Timestamp:
- Nov 23, 2022, 11:11:26 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/vdifc_mod.F
r2823 r2826 5 5 CONTAINS 6 6 7 SUBROUTINE vdifc(ngrid,nlay,nq, co2ice,ppopsk,7 SUBROUTINE vdifc(ngrid,nlay,nq,ppopsk, 8 8 $ ptimestep,pcapcal,lecrit, 9 9 $ pplay,pplev,pzlay,pzlev,pz0, … … 17 17 use tracer_mod, only: noms, igcm_dust_mass, igcm_dust_number, 18 18 & igcm_dust_submicron, igcm_h2o_vap, 19 & igcm_h2o_ice, alpha_lift, 19 & igcm_h2o_ice, alpha_lift, igcm_co2, 20 20 & igcm_hdo_vap, igcm_hdo_ice, 21 21 & igcm_stormdust_mass, igcm_stormdust_number … … 74 74 75 75 c Argument added for condensation: 76 REAL,INTENT(IN) :: co2ice (ngrid),ppopsk(ngrid,nlay)76 REAL,INTENT(IN) :: ppopsk(ngrid,nlay) 77 77 logical,INTENT(IN) :: lecrit 78 78 REAL,INTENT(IN) :: pcondicea_co2microp(ngrid,nlay)! tendency due to CO2 condensation (kg/kg.s-1) … … 721 721 if (doubleq.AND.submicron) then 722 722 do ig=1,ngrid 723 c if( co2ice(ig).lt.1) then723 c if(qsurf(ig,igcm_co2).lt.1) then 724 724 pdqsdif(ig,igcm_dust_mass) = 725 725 & -alpha_lift(igcm_dust_mass) … … 734 734 !or 2 (injection in CL) 735 735 do ig=1,ngrid 736 if( co2ice(ig).lt.1) then ! pas de soulevement si glace CO2736 if(pqsurf(ig,igcm_co2).lt.1) then ! pas de soulevement si glace CO2 737 737 pdqsdif(ig,igcm_dust_mass) = 738 738 & -alpha_lift(igcm_dust_mass) … … 743 743 elseif(dustinjection.eq.1)then ! dust injection scheme = 1 injection from surface 744 744 do ig=1,ngrid 745 if( co2ice(ig).lt.1) then ! pas de soulevement si glace CO2745 if(pqsurf(ig,igcm_co2).lt.1) then ! pas de soulevement si glace CO2 746 746 IF((ti_injection_sol.LE.local_time(ig)).and. 747 747 & (local_time(ig).LE.tf_injection_sol)) THEN … … 775 775 ENDIF 776 776 777 end if ! of if( co2ice(ig).lt.1)777 end if ! of if(qsurf(ig,igcm_co2).lt.1) 778 778 end do 779 779 endif ! end if dustinjection … … 785 785 else 786 786 #endif 787 call dustlift(ngrid,nlay,nq,rho,zcdh_true,zcdh, co2ice,788 & p dqsdif)787 call dustlift(ngrid,nlay,nq,rho,zcdh_true,zcdh, 788 & pqsurf(:,igcm_co2),pdqsdif) 789 789 #ifndef MESOSCALE 790 790 endif !doubleq.AND.submicron
Note: See TracChangeset
for help on using the changeset viewer.