Changeset 3514 for LMDZ5


Ignore:
Timestamp:
May 20, 2019, 2:42:17 PM (5 years ago)
Author:
acozic
Message:

add possibility to use rrtm with inca even if we are not working with the new physics

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/branches/IPSLCM5A2.1/libf/phylmd/physiq_mod.F90

    r3482 r3514  
    33593359
    33603360       call chemtime(itap+itau_phy-1, date0, dtime, itap)
    3361        CALL aerosol_meteo_calc( &
     3361       IF (config_inca == 'aero' .OR. config_inca == 'aeNP') THEN
     3362          CALL AEROSOL_METEO_CALC( &
    33623363               calday,pdtphys,pplay,paprs,t,pmflxr,pmflxs, &
    33633364               prfl,psfl,pctsrf,cell_area, &
    33643365               latitude_deg,longitude_deg,u10m,v10m)
     3366       END IF
    33653367
    33663368       zxsnow_dummy(:) = 0.0
     
    34283430             ENDIF
    34293431          ELSE                       ! RRTM radiation
    3430              IF (aerosol_couple .AND. config_inca == 'aero' ) THEN
    3431                 abort_message='config_inca=aero et rrtm=1 impossible'
    3432                 call abort_physic(modname,abort_message,1)
    3433              ELSE
    34343432                !
    34353433#ifdef CPP_RRTM
     
    34783476#endif
    34793477                !
    3480              ENDIF
    34813478          ENDIF
    34823479       ELSE
     
    36483645             ENDIF
    36493646          ELSE                       ! RRTM radiation
    3650              IF (aerosol_couple .AND. config_inca == 'aero' ) THEN
    3651                 abort_message='config_inca=aero et rrtm=1 impossible'
    3652                 call abort_physic(modname,abort_message,1)
    3653              ELSE
    36543647                !
    36553648#ifdef CPP_RRTM
     
    36983691#endif
    36993692                !
    3700              ENDIF
    37013693          ENDIF
    37023694       ELSE
     
    37733765       ENDIF
    37743766
    3775        IF (aerosol_couple.AND.config_inca=='aero') THEN
     3767       IF (aerosol_couple.AND.iflag_rrtm==0) THEN
    37763768#ifdef INCA
    37773769          CALL radlwsw_inca  &
Note: See TracChangeset for help on using the changeset viewer.