Changeset 6105 for LMDZ6/trunk/libf


Ignore:
Timestamp:
Mar 13, 2026, 11:02:03 PM (3 weeks ago)
Author:
fhourdin
Message:

Supression d'arguments dans conf_phys_m

Location:
LMDZ6/trunk/libf
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/dynphy_lonlat/phylmd/etat0phys_netcdf.f90

    r6099 r6105  
    117117
    118118!--- Arguments for conf_phys
    119   LOGICAL :: ok_journe, ok_mensuel, ok_instan, ok_hf, ok_LES, callstats
    120119  REAL    :: solarlong0, fact_cldcon, facttemps
    121120  LOGICAL :: ok_newmicro
     
    139138! Physics configuration
    140139!*******************************************************************************
    141   CALL conf_phys(  ok_journe, ok_mensuel, ok_instan, ok_hf, ok_LES,     &
    142                    callstats,                                           &
    143                    solarlong0,                                          &
     140  CALL conf_phys(  solarlong0,                                          &
    144141                   fact_cldcon, facttemps,ok_newmicro,iflag_radia,      &
    145142                   iflag_cldcon,                                        &
  • LMDZ6/trunk/libf/phylmd/conf_phys_m.f90

    r6104 r6105  
    66MODULE conf_phys_m
    77
    8   USE clesphys_mod_h
     8    USE clesphys_mod_h
    99    IMPLICIT NONE
    1010
     11    LOGICAL, SAVE, PROTECTED :: ok_journe, ok_mensuel, ok_instan, ok_hf, ok_LES
     12!$OMP THREADPRIVATE(ok_journe, ok_mensuel, ok_instan, ok_hf, ok_LES)
     13
    1114CONTAINS
    1215
    13   SUBROUTINE conf_phys(ok_journe, ok_mensuel, ok_instan, ok_hf, &
    14        ok_LES,&
    15        callstats,&
    16        solarlong0, &
     16  SUBROUTINE conf_phys( solarlong0, &
    1717       fact_cldcon,facttemps,ok_newmicro,iflag_radia,&
    1818       iflag_cld_th, &
     
    7171
    7272    ! Sortie:
     73
    7374    LOGICAL              :: ok_newmicro
    7475    INTEGER              :: iflag_radia
    7576    LOGICAL              :: ok_journe, ok_mensuel, ok_instan, ok_hf
    7677    LOGICAL              :: ok_LES
    77     LOGICAL              :: callstats
    7878    LOGICAL              :: ok_ade, ok_aie, ok_alw, ok_cdnc, ok_volcan
    7979    LOGICAL              :: aerosol_couple, chemistry_couple
     
    9090
    9191
     92
    9293    REAL                :: ratio_z0hz0m_land, ratio_z0hz0m_ocean, ratio_z0hz0m_landice, ratio_z0hz0m_seaice
    9394
     
    11251126    CALL getin_p('OK_LES', ok_LES)                                 
    11261127
    1127     !              stats                                                 
    1128     !                                                                   
    1129     callstats = .FALSE.                                             
    1130     CALL getin_p('callstats', callstats)                                 
    1131     !
    11321128    !              par defaut 1., i.e. 1 jour
    1133     !
    11341129    !
    11351130    adjust_tropopause = .FALSE.
  • LMDZ6/trunk/libf/phylmd/physiq_mod.F90

    r6099 r6105  
    5656    USE assert_m, only: assert
    5757    USE change_srf_frac_mod
    58     USE conf_phys_m, only: conf_phys
     58
     59    USE conf_phys_m, ONLY : conf_phys
     60    ! TBD 2026/03/13 : les variables ci dessous ont été passées en module.
     61    !                  elles foivent disparaitre de physiq_mod.F90
     62    USE conf_phys_m, ONLY : ok_journe, ok_mensuel, ok_instan, ok_hf, ok_LES
     63
    5964    USE carbon_cycle_mod, ONLY : infocfields_init, RCO2_glo, carbon_cycle_rad   ! PC
    6065
     
    524529    !cc      PARAMETER (soil_model=.FALSE.)
    525530    !======================================================================
    526     LOGICAL ok_journe ! sortir le fichier journalier
    527     SAVE ok_journe
    528     !$OMP THREADPRIVATE(ok_journe)
    529     !
    530     LOGICAL ok_mensuel ! sortir le fichier mensuel
    531     SAVE ok_mensuel
    532     !$OMP THREADPRIVATE(ok_mensuel)
    533     !
    534     LOGICAL ok_instan ! sortir le fichier instantane
    535     SAVE ok_instan
    536     !$OMP THREADPRIVATE(ok_instan)
    537     !
    538     LOGICAL ok_LES ! sortir le fichier LES
    539     SAVE ok_LES
    540     !$OMP THREADPRIVATE(ok_LES)
    541     !
    542     LOGICAL callstats ! sortir le fichier stats
    543     SAVE callstats
    544     !$OMP THREADPRIVATE(callstats)
     531    !
     532    !
    545533    !
    546534    LOGICAL ok_region ! sortir le fichier regional
     
    618606    CHARACTER*3 region
    619607    PARAMETER(region='3d')
    620     LOGICAL ok_hf
    621     !
    622     SAVE ok_hf
    623     !$OMP THREADPRIVATE(ok_hf)
    624608
    625609    INTEGER, PARAMETER :: longcles=20
     
    13001284       !
    13011285       !     appel a la lecture du run.def physique
    1302        CALL conf_phys(ok_journe, ok_mensuel, &
    1303             ok_instan, ok_hf, &
    1304             ok_LES, &
    1305             callstats, &
    1306             solarlong0, &
     1286       CALL conf_phys( solarlong0, &
    13071287            fact_cldcon,facttemps,ok_newmicro,iflag_radia, &
    13081288            iflag_cld_th, &
  • LMDZ6/trunk/libf/phylmdiso/physiq_mod.F90

    r6099 r6105  
    2929    USE assert_m, ONLY: assert
    3030    USE change_srf_frac_mod
     31
    3132    USE conf_phys_m, ONLY: conf_phys
     33    ! TBD 2026/03/13 : les variables ci dessous ont été passées en module.
     34    !                  elles foivent disparaitre de physiq_mod.F90
     35    USE conf_phys_m, ONLY : ok_journe, ok_mensuel, ok_instan, ok_hf, ok_LES
     36
    3237    USE carbon_cycle_mod, ONLY : infocfields_init, RCO2_glo, carbon_cycle_rad   ! PC
    3338
     
    563568    !cc      PARAMETER (soil_model=.FALSE.)
    564569    !======================================================================
    565     LOGICAL ok_journe ! sortir le fichier journalier
    566     SAVE ok_journe
    567     !$OMP THREADPRIVATE(ok_journe)
    568     !
    569     LOGICAL ok_mensuel ! sortir le fichier mensuel
    570     SAVE ok_mensuel
    571     !$OMP THREADPRIVATE(ok_mensuel)
    572     !
    573     LOGICAL ok_instan ! sortir le fichier instantane
    574     SAVE ok_instan
    575     !$OMP THREADPRIVATE(ok_instan)
    576     !
    577     LOGICAL ok_LES ! sortir le fichier LES
    578     SAVE ok_LES
    579     !$OMP THREADPRIVATE(ok_LES)
    580     !
    581     LOGICAL callstats ! sortir le fichier stats
    582     SAVE callstats
    583     !$OMP THREADPRIVATE(callstats)
    584570    !
    585571    LOGICAL ok_region ! sortir le fichier regional
     
    657643    CHARACTER*3 region
    658644    PARAMETER(region='3d')
    659     LOGICAL ok_hf
    660     !
    661     SAVE ok_hf
    662     !$OMP THREADPRIVATE(ok_hf)
    663645
    664646    INTEGER, PARAMETER :: longcles=20
     
    13971379       !
    13981380       !     appel a la lecture du run.def physique
    1399        CALL conf_phys(ok_journe, ok_mensuel, &
    1400             ok_instan, ok_hf, &
    1401             ok_LES, &
    1402             callstats, &
    1403             solarlong0, &
     1381       CALL conf_phys( solarlong0, &
    14041382            fact_cldcon,facttemps,ok_newmicro,iflag_radia, &
    14051383            iflag_cld_th, &
Note: See TracChangeset for help on using the changeset viewer.