Changeset 6124 for LMDZ6/trunk/libf


Ignore:
Timestamp:
Mar 23, 2026, 11:31:30 PM (2 weeks ago)
Author:
lguez
Message:

Upgrade read_climoz

To variable of module conf_phys_m.

Location:
LMDZ6/trunk/libf
Files:
3 edited

Legend:

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

    r6106 r6124  
    9191  USE regr_horiz_time_climoz_m, ONLY: regr_horiz_time_climoz
    9292  USE indice_sol_mod
    93   USE conf_phys_m, ONLY: conf_phys
     93  USE conf_phys_m, ONLY: conf_phys, read_climoz
    9494  USE init_ssrf_m, ONLY: start_init_subsurf
    9595  USE phys_state_var_mod, ONLY: beta_aridity, delta_tsurf, awake_dens, cv_gen, &
     
    128128  !LOGICAL :: flag_bc_internal_mixture
    129129  !REAL    :: bl95_b0, bl95_b1
    130   INTEGER :: read_climoz                        !--- Read ozone climatology
    131130  LOGICAL :: filtre_oro=.false.
    132131
     
    137136! Physics configuration
    138137!*******************************************************************************
    139   CALL conf_phys( read_climoz )
     138  CALL conf_phys
    140139  CALL phys_state_var_init(read_climoz)
    141140
  • LMDZ6/trunk/libf/phylmd/conf_phys_m.f90

    r6116 r6124  
    5656    !$OMP THREADPRIVATE(alp_offset)
    5757
    58 
     58    INTEGER, SAVE, protected:: read_climoz ! read ozone climatology
     59    !     Allowed values are 0, 1 and 2
     60    !     0: do not read an ozone climatology
     61    !     1: read a single ozone climatology that will be used day and night
     62    !     2: read two ozone climatologies, the average day and night
     63    !     climatology and the daylight climatology
     64    !$OMP THREADPRIVATE(read_climoz)
    5965
    6066CONTAINS
    6167
    62   SUBROUTINE conf_phys( read_climoz )
     68  SUBROUTINE conf_phys
    6369
    6470        USE compbl_mod_h
     
    121127    ! PC
    122128    ! Per-gas routing switches (Concentration "effective")
    123 
    124     INTEGER, INTENT(OUT):: read_climoz ! read ozone climatology, OpenMP shared
    125     ! Allowed values are 0, 1 and 2
    126     ! 0: do not read an ozone climatology
    127     ! 1: read a single ozone climatology that will be used day and night
    128     ! 2: read two ozone climatologies, the average day and night
    129     ! climatology and the daylight climatology
    130129
    131130    !-----------------------------------------------------------------
  • LMDZ6/trunk/libf/phylmd/physiq_mod.F90

    r6123 r6124  
    6767    USE conf_phys_m , ONLY : aerosol_couple
    6868    USE conf_phys_m , ONLY : chemistry_couple
    69     USE conf_phys_m , ONLY : flag_aerosol
     69    USE conf_phys_m , ONLY : flag_aerosol, read_climoz
    7070    USE conf_phys_m , ONLY : flag_bc_internal_mixture
    7171    USE conf_phys_m , ONLY : solarlong0,alp_offset,flag_aer_feedback,flag_aerosol_strat
     
    10631063    ! VARIABLES RELATED TO OZONE CLIMATOLOGIES
    10641064    ! Note that pressure vectors are in Pa and in stricly ascending order
    1065     INTEGER,SAVE :: read_climoz                ! Read ozone climatology
    1066     !     Allowed values are 0, 1 and 2
    1067     !     0: do not read an ozone climatology
    1068     !     1: read a single ozone climatology that will be used day and night
    1069     !     2: read two ozone climatologies, the average day and night
    1070     !     climatology and the daylight climatology
    10711065    INTEGER,SAVE :: ncid_climoz                ! NetCDF file identifier
    10721066    REAL, ALLOCATABLE, SAVE :: press_cen_climoz(:) ! Pressure levels
    10731067    REAL, ALLOCATABLE, SAVE :: press_edg_climoz(:) ! Edges of pressure intervals
    10741068    REAL, ALLOCATABLE, SAVE :: time_climoz(:)      ! Time vector
    1075     !$OMP THREADPRIVATE(read_climoz, ncid_climoz, press_cen_climoz)
     1069    !$OMP THREADPRIVATE(ncid_climoz, press_cen_climoz)
    10761070    !$OMP THREADPRIVATE(press_edg_climoz, time_climoz)
    10771071
     
    12651259       !
    12661260       !     appel a la lecture du run.def physique
    1267        CALL conf_phys( read_climoz )
     1261       CALL conf_phys
    12681262
    12691263       CALL init_etat0_limit_unstruct
Note: See TracChangeset for help on using the changeset viewer.