Changeset 1982 for trunk/ICOSA_LMDZ


Ignore:
Timestamp:
Aug 1, 2018, 8:34:46 AM (6 years ago)
Author:
emillour
Message:

Dynamico interface:
Follow-up of having the possibility of tracer names up to 30 characters long.
EM

Location:
trunk/ICOSA_LMDZ/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ICOSA_LMDZ/src/phystd/interface_icosa_lmdz.f90

    r1710 r1982  
    3737  INTEGER,SAVE :: nbp_phys_glo
    3838 
    39   CHARACTER(len=20),SAVE,ALLOCATABLE :: tname(:) ! tracer names
     39  CHARACTER(len=30),SAVE,ALLOCATABLE :: tname(:) ! tracer names
    4040  REAL,SAVE :: pday ! number of ellapsed sols since Ls=0
    4141  REAL,SAVE :: ptime ! "universal time" as fraction of sol (e.g. 0.5 for noon)
     
    5959  USE mod_grid_phy_lmdz, ONLY : unstructured
    6060  USE mod_phys_lmdz_omp_data, ONLY: klon_omp
    61 !  USE time_phylmdz_mod, ONLY: init_time_lmdz => init_time
    6261  USE transfert_mod
    6362  USE physics_distribution_mod, ONLY : init_physics_distribution
    64 !  USE geometry_mod, ONLY : init_geometry
    65 !  USE vertical_layers_mod, ONLY : init_vertical_layers
    66 !  USE infotrac_phy, ONLY : init_infotrac_phy
    67 !  USE inifis_mod, ONLY : inifis
    68 !  USE phyaqua_mod, ONLY : iniaqua
    6963   
    7064 
     
    8175  REAL(rstd) :: pseudoalt(llm)
    8276
    83   INTEGER :: run_length 
    84   INTEGER :: annee_ref 
    85   INTEGER :: day_ref   
    86   INTEGER :: day_ini   
    87   REAL    :: start_time
    88   REAL    :: physics_timestep   
    89 
    90 
    91   INTEGER                       :: nqo, nbtr
    92   CHARACTER(len=4)              :: type_trac
    93   CHARACTER(len=20),ALLOCATABLE :: tname(:)    ! tracer short name for restart and diagnostics
    94   CHARACTER(len=23),ALLOCATABLE :: ttext(:)     ! tracer long name for diagnostics
    95   INTEGER,ALLOCATABLE           :: niadv(:)    ! equivalent dyn / physique
    96   INTEGER,ALLOCATABLE           :: conv_flg(:) ! conv_flg(it)=0 : convection desactivated for tracer number it
    97   INTEGER,ALLOCATABLE           :: pbl_flg(:)  ! pbl_flg(it)=0  : boundary layer diffusion desactivaded for tracer number it
    98   CHARACTER(len=8),ALLOCATABLE :: solsym(:)  ! tracer name from inca
    99 
    100   INTEGER :: iflag_phys   
    10177  INTEGER :: nbp_phys, nbp_phys_glo
    10278 
  • trunk/ICOSA_LMDZ/src/phyvenus/interface_icosa_lmdz.f90

    r1929 r1982  
    3737  INTEGER,SAVE :: nbp_phys_glo
    3838 
    39   CHARACTER(len=20),SAVE,ALLOCATABLE :: tname(:) ! tracer names
     39  CHARACTER(len=30),SAVE,ALLOCATABLE :: tname(:) ! tracer names
    4040  REAL,SAVE :: pday ! number of ellapsed sols since Ls=0
    4141  REAL,SAVE :: ptime ! "universal time" as fraction of sol (e.g. 0.5 for noon)
     
    7575  REAL(rstd) :: pseudoalt(llm)
    7676
    77 !  INTEGER :: run_length 
    78 !  INTEGER :: annee_ref 
    79 !  INTEGER :: day_ref   
    80 !  INTEGER :: day_ini   
    81 !  REAL    :: start_time
    82 !  REAL    :: physics_timestep   
    83 
    84 
    85 !  INTEGER                       :: nqo, nbtr
    86 !  CHARACTER(len=4)              :: type_trac
    87 !  CHARACTER(len=20),ALLOCATABLE :: tname(:)    ! tracer short name for restart and diagnostics
    88 !  CHARACTER(len=23),ALLOCATABLE :: ttext(:)     ! tracer long name for diagnostics
    89 !  INTEGER,ALLOCATABLE           :: niadv(:)    ! equivalent dyn / physique
    90 !  INTEGER,ALLOCATABLE           :: conv_flg(:) ! conv_flg(it)=0 : convection desactivated for tracer number it
    91 !  INTEGER,ALLOCATABLE           :: pbl_flg(:)  ! pbl_flg(it)=0  : boundary layer diffusion desactivaded for tracer number it
    92 !  CHARACTER(len=8),ALLOCATABLE :: solsym(:)  ! tracer name from inca
    93 
    94 !  INTEGER :: iflag_phys   
    9577  INTEGER :: nbp_phys, nbp_phys_glo
    9678 
     
    230212  INTEGER :: iflag_trac
    231213  CHARACTER(len=4)              :: type_trac
    232   CHARACTER(len=20),ALLOCATABLE :: tname(:)    ! tracer short name for restart and diagnostics
    233   CHARACTER(len=23),ALLOCATABLE :: ttext(:)     ! tracer long name for diagnostics
     214!  CHARACTER(len=30),ALLOCATABLE :: tname(:)    ! tracer short name for restart and diagnostics
     215  CHARACTER(len=33),ALLOCATABLE :: ttext(:)     ! tracer long name for diagnostics
    234216  TYPE(t_field),POINTER,SAVE    :: f_ind_cell_glo(:)
    235217 
Note: See TracChangeset for help on using the changeset viewer.