Changeset 3239 for LMDZ6/trunk/libf/phylmd
- Timestamp:
- Mar 5, 2018, 5:24:06 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/physiq_mod.F90
r3208 r3239 1657 1657 1658 1658 #ifdef CPP_XIOS 1659 !--setting up swaero_diag to TRUE in XIOS case1660 IF (xios_field_is_active("topswad").OR.xios_field_is_active("topswad0").OR. &1661 xios_field_is_active("solswad").OR.xios_field_is_active("solswad0").OR. &1662 xios_field_is_active("topswai").OR.xios_field_is_active("solswai").OR. &1663 (iflag_rrtm==1.AND.(xios_field_is_active("toplwad").OR.xios_field_is_active("toplwad0").OR. &1664 xios_field_is_active("sollwad").OR.xios_field_is_active("sollwad0")))) &1665 !!!--for now these fields are not in the XML files so they are omitted1666 !!! xios_field_is_active("toplwai").OR.xios_field_is_active("sollwai") !))) &1667 swaero_diag=.TRUE.1668 1669 !--setting up swaerofree_diag to TRUE in XIOS case1670 IF (xios_field_is_active("SWdnSFCcleanclr").OR.xios_field_is_active("SWupSFCcleanclr").OR. &1671 xios_field_is_active("SWupTOAcleanclr").OR.xios_field_is_active("rsucsaf").OR. &1672 xios_field_is_active("rsdcsaf") .OR. xios_field_is_active("LWdnSFCcleanclr").OR. &1673 xios_field_is_active("LWupTOAcleanclr")) &1674 swaerofree_diag=.TRUE.1675 1676 !--setting up dryaod_diag to TRUE in XIOS case1677 DO naero = 1, naero_tot-11678 IF (xios_field_is_active("dryod550_"//name_aero_tau(naero))) dryaod_diag=.TRUE.1679 ENDDO1680 !1681 !--setting up ok_4xCO2atm to TRUE in XIOS case1682 IF (xios_field_is_active("rsut4co2").OR.xios_field_is_active("rlut4co2").OR. &1683 xios_field_is_active("rsutcs4co2").OR.xios_field_is_active("rlutcs4co2").OR. &1684 xios_field_is_active("rsu4co2").OR.xios_field_is_active("rsucs4co2").OR. &1685 xios_field_is_active("rsd4co2").OR.xios_field_is_active("rsdcs4co2").OR. &1686 xios_field_is_active("rlu4co2").OR.xios_field_is_active("rlucs4co2").OR. &1687 xios_field_is_active("rld4co2").OR.xios_field_is_active("rldcs4co2")) &1688 ok_4xCO2atm=.TRUE.1689 1659 ! Need to put this initialisation after phyetat0 as in the coupled model the XIOS context is only 1690 1660 ! initialised at that moment … … 4848 4818 #endif 4849 4819 4820 ! On remet des variables a .false. apres un premier appel 4821 if (debut) then 4822 #ifdef CPP_XIOS 4823 swaero_diag=.FALSE. 4824 swaerofree_diag=.FALSE. 4825 dryaod_diag=.FALSE. 4826 ok_4xCO2atm= .FALSE. 4827 if (is_master) write (lunout,*)'ok_4xCO2atm= ',swaero_diag, swaerofree_diag, dryaod_diag, ok_4xCO2atm 4828 4829 !--setting up swaero_diag to TRUE in XIOS case 4830 IF (xios_field_is_active("topswad").OR.xios_field_is_active("topswad0").OR. & 4831 xios_field_is_active("solswad").OR.xios_field_is_active("solswad0").OR. & 4832 xios_field_is_active("topswai").OR.xios_field_is_active("solswai").OR. & 4833 (iflag_rrtm==1.AND.(xios_field_is_active("toplwad").OR.xios_field_is_active("toplwad0").OR. & 4834 xios_field_is_active("sollwad").OR.xios_field_is_active("sollwad0")))) & 4835 !!!--for now these fields are not in the XML files so they are omitted 4836 !!! xios_field_is_active("toplwai").OR.xios_field_is_active("sollwai") !))) & 4837 swaero_diag=.TRUE. 4838 4839 !--setting up swaerofree_diag to TRUE in XIOS case 4840 IF (xios_field_is_active("SWdnSFCcleanclr").OR.xios_field_is_active("SWupSFCcleanclr").OR. & 4841 xios_field_is_active("SWupTOAcleanclr").OR.xios_field_is_active("rsucsaf").OR. & 4842 xios_field_is_active("rsdcsaf") .OR. xios_field_is_active("LWdnSFCcleanclr").OR. & 4843 xios_field_is_active("LWupTOAcleanclr")) & 4844 swaerofree_diag=.TRUE. 4845 4846 !--setting up dryaod_diag to TRUE in XIOS case 4847 DO naero = 1, naero_tot-1 4848 IF (xios_field_is_active("dryod550_"//name_aero_tau(naero))) dryaod_diag=.TRUE. 4849 ENDDO 4850 ! 4851 !--setting up ok_4xCO2atm to TRUE in XIOS case 4852 IF (xios_field_is_active("rsut4co2").OR.xios_field_is_active("rlut4co2").OR. & 4853 xios_field_is_active("rsutcs4co2").OR.xios_field_is_active("rlutcs4co2").OR. & 4854 xios_field_is_active("rsu4co2").OR.xios_field_is_active("rsucs4co2").OR. & 4855 xios_field_is_active("rsd4co2").OR.xios_field_is_active("rsdcs4co2").OR. & 4856 xios_field_is_active("rlu4co2").OR.xios_field_is_active("rlucs4co2").OR. & 4857 xios_field_is_active("rld4co2").OR.xios_field_is_active("rldcs4co2")) & 4858 ok_4xCO2atm=.TRUE. 4859 if (is_master) write (lunout,*)'ok_4xCO2atm= ',swaero_diag, swaerofree_diag, dryaod_diag, ok_4xCO2atm 4860 #endif 4861 endif 4850 4862 4851 4863 !====================================================================
Note: See TracChangeset
for help on using the changeset viewer.