Ignore:
Timestamp:
Oct 5, 2023, 4:14:22 PM (16 months ago)
Author:
Laurent Fairhead
Message:

Final (hopefully) commit from the newmicro replayisation workshop. The final USE statements that were
still included in the cloud_optics_prop routine were moved to the call_cloud_optics_prop routine that
sets up the interface between LMDZ and the parametrization.
LF for LR, MCD, AI, EV, JBM

Location:
LMDZ6/trunk/libf/phylmdiso
Files:
1 added
1 edited

Legend:

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

    r4707 r4715  
    7878    USE wxios, ONLY: g_ctx, wxios_set_context
    7979    USE lmdz_lscp, ONLY : lscp
    80     USE lmdz_cloud_optics_prop, ONLY : cloud_optics_prop
     80    USE lmdz_call_cloud_optics_prop, ONLY : call_cloud_optics_prop
    8181    USE lmdz_lscp_old, ONLY : fisrtilp
    8282    USE lmdz_wake_ini, ONLY : wake_ini
     
    19321932                             RCPD, RLSTT, RLVTT, RLMLT, &
    19331933                             RVTMP2, RTT,RD,RG)
     1934       ! Test de coherence sur oc_cdnc utilisé uniquement par cloud_optics_prop
     1935       IF (ok_newmicro) then
     1936          IF (iflag_rrtm.EQ.1) THEN
     1937#ifdef CPP_RRTM
     1938             IF (ok_cdnc.AND.NRADLP.NE.3) THEN
     1939             abort_message='RRTM choix incoherent NRADLP doit etre egal a 3 ' &
     1940                  // 'pour ok_cdnc'
     1941             CALL abort_physic(modname,abort_message,1)
     1942             ENDIF
     1943#else
     1944
     1945             abort_message='You should compile with -rrtm if running with '//'iflag_rrtm=1'
     1946             CALL abort_physic(modname,abort_message,1)
     1947#endif
     1948          ENDIF
     1949       ENDIF   
    19341950       CALL cloud_optics_prop_ini(klon, prt_level, lunout, flag_aerosol, &
    19351951                                  & ok_cdnc, bl95_b0, &
     
    55775593       ENDIF
    55785594
    5579        IF (ok_newmicro) then
    5580 ! AI          IF (iflag_rrtm.NE.0) THEN
    5581           IF (iflag_rrtm.EQ.1) THEN
    5582 #ifdef CPP_RRTM
    5583              IF (ok_cdnc.AND.NRADLP.NE.3) THEN
    5584              abort_message='RRTM choix incoherent NRADLP doit etre egal a 3 ' &
    5585                   // 'pour ok_cdnc'
    5586              CALL abort_physic(modname,abort_message,1)
    5587              ENDIF
    5588 #else
    5589 
    5590              abort_message='You should compile with -rrtm if running with '//'iflag_rrtm=1'
    5591              CALL abort_physic(modname,abort_message,1)
    5592 #endif
    5593           ENDIF
    5594           CALL cloud_optics_prop(klon, klev, &
     5595       !Rajout appel a interface calcul proprietes optiques des nuages
     5596       CALL call_cloud_optics_prop(klon, klev, ok_newmicro, &
    55955597               paprs, pplay, t_seri, radocond, picefra, cldfra, &
    55965598               cldtau, cldemi, cldh, cldl, cldm, cldt, cldq, &
    5597                flwp, fiwp, flwc, fiwc, &
     5599               flwp, fiwp, flwc, fiwc, ok_aie, &
    55985600               mass_solu_aero, mass_solu_aero_pi, &
    55995601               cldtaupi, distcltop, temp_cltop, re, fl, ref_liq, ref_ice, &
     
    56015603               reffclwc, cldnvi, lcc3d, lcc3dcon, lcc3dstra, icc3dcon, icc3dstra,  &
    56025604               zfice, dNovrN, ptconv, rnebcon, clwcon)
    5603        ELSE
    5604           CALL nuage (paprs, pplay, &
    5605                t_seri, radocond, picefra, cldfra, cldtau, cldemi, &
    5606                cldh, cldl, cldm, cldt, cldq, &
    5607                ok_aie, &
    5608                mass_solu_aero, mass_solu_aero_pi, &
    5609                bl95_b0, bl95_b1, distcltop, temp_cltop, &
    5610                cldtaupi, re, fl)
    5611        ENDIF
     5605
    56125606       !
    56135607       !IM betaCRF
Note: See TracChangeset for help on using the changeset viewer.