Ignore:
Timestamp:
Apr 5, 2026, 4:26:11 PM (5 days ago)
Author:
idelkadi
Message:

Rewriting and simplification of the interface between the LMDZ code and the radiative transfer codes (Old code / RRTM / ECRAD):

  • radlwsw_m.F90: call to the 3 codes controlled by the logical flag iflag_rrtm
  • lmdz_calloldrad_m.F90: interface with the old radiative transfer code
  • lmdz_call_rrtm_m.F90: interface with the RRTM radiative code
  • lmdz_call_ecrad_m.F90: interface with the ECRAD radiative code
  • lmdz_rad_ini_m.F90: initialisations common to the three radiative codes
  • lmdz_rad_out_m.F90: radiative flux outputs for LMDZ

Translated with DeepL.com (free version)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/physiq_mod.F90

    r6154 r6159  
    14071407       !AI 08 2023
    14081408#ifdef CPP_ECRAD
    1409        ok_3Deffect=.false.
    1410        CALL getin_p('ok_3Deffect',ok_3Deffect)
     1409       ok_2xcall_ecrad=.false.
     1410       CALL getin_p('ok_2xcall_ecrad',ok_2xcall_ecrad)
    14111411       namelist_ecrad_file='namelist_ecrad'
    14121412#endif
     
    45564556          ! A.I aout 2023
    45574557          ! Effet 3D des nuages Ecrad
    4558           ! a passer : nom du ficher namelist et cles ok_3Deffect
     4558          ! a passer : nom du ficher namelist et cles ok_2appel_ecrad
    45594559          ! a declarer comme iflag_rrtm et a lire dans physiq.def
    45604560#ifdef CPP_ECRAD
    4561           IF (ok_3Deffect) then
    4562              !                print*,'ok_3Deffect = ',ok_3Deffect
     4561          IF (ok_2xcall_ecrad) then
     4562             !                print*,'ok_2xcall_ecrad = ',ok_2xcall_ecrad
    45634563             namelist_ecrad_file='namelist_ecrad_s2'
    45644564             CALL radlwsw &
     
    45984598                  ZFLUX_DIR, ZFLUX_DIR_CLEAR, ZFLUX_DIR_SUN, &
    45994599                  cloud_cover_sw_s2)
    4600           ENDIF ! ok_3Deffect
     4600          ENDIF ! ok_2xcall_ecrad
    46014601#endif
    46024602
Note: See TracChangeset for help on using the changeset viewer.