- Timestamp:
- Jul 2, 2020, 3:42:24 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/physiq_mod.F
r2382 r2383 656 656 endif 657 657 658 if(callnlte.and.nltemodel.eq.2) then 659 call nlte_setup 660 end if 661 if(callnirco2.and.nircorr.eq.1) then 662 call NIR_leedat 663 end if 658 if(callnlte.and.nltemodel.eq.2) call nlte_setup 659 if(callnirco2.and.nircorr.eq.1) call NIR_leedat 660 664 661 665 662 IF (tracer.AND.water.AND.(ngrid.NE.1)) THEN … … 3725 3722 ENDIF ! hdo 3726 3723 3724 if (co2clouds) then 3725 call WRITEDIAGFI(ngrid,'mtotco2', 3726 & 'total mass of CO2, including ice surf', 3727 & 'kg/m2',0,mtotco2) 3728 3729 call WRITEDIAGFI(ngrid,'vaptotco2', 3730 & 'total mass of CO2 vapor', 3731 & 'kg/m2',0,vaptotco2) 3732 3733 call WRITEDIAGFI(ngrid,'icetotco2', 3734 & 'total mass of CO2 ice', 3735 & 'kg/m2',0,icetotco2) 3736 end if 3737 co2totB = 0. ! added by C.M. 3738 do ig=1,ngrid 3739 do l=1,nlayer 3740 co2totB = co2totB + (zplev(ig,l)-zplev(ig,l+1))/g* 3741 & (pq(ig,l,igcm_co2)+pq(ig,l,igcm_co2_ice) 3742 & +(pdq(ig,l,igcm_co2)+pdq(ig,l,igcm_co2_ice))*ptimestep) 3743 enddo 3744 co2totB = co2totB + co2ice(ig) 3745 enddo 3746 3747 call WRITEDIAGFI(ngrid,'co2conservation', 3748 & 'Total CO2 mass conservation in physic', 3749 & '%',0,(co2totA-co2totB)/co2totA) 3750 call test_vmr(pq(:,:,igcm_co2), pdq(:,:,igcm_co2), ptimestep, 3751 & ngrid, nlayer, 'end physiq_mod') 3752 3727 3753 call WRITEDIAGFI(ngrid,"rice","ice radius","m",1, 3728 3754 & rice)
Note: See TracChangeset
for help on using the changeset viewer.