Changeset 1981


Ignore:
Timestamp:
Jul 31, 2018, 7:02:27 PM (6 years ago)
Author:
emillour
Message:

Venus physics:
Follow-up of longer tracer names in the dynamics and addition of
init_print_control module variables in conf_phys.
EM

Location:
trunk/LMDZ.VENUS/libf/phyvenus
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.VENUS/libf/phyvenus/conf_phys.F90

    r1726 r1981  
    77  subroutine conf_phys(ok_journe, ok_mensuel, ok_instan, &
    88 &                     if_ebil)
    9    !use init_print_control_mod, only: init_print_control
    10    !use print_control_mod, only: lunout
    11    use IOIPSL
     9   use init_print_control_mod, only: init_print_control
     10   use print_control_mod, only: lunout
     11   use IOIPSL, only: getin
    1212
    1313   implicit none
    1414
    15 #include "YOMCST.h"
    16 #include "clesphys.h"
    17 #include "compbl.h"
     15   include "YOMCST.h"
     16   include "clesphys.h"
     17   include "compbl.h"
    1818
    1919! ok_journe:  sorties journalieres
     
    2323
    2424! Sortie:
    25   logical              :: ok_journe, ok_mensuel, ok_instan       
    26   integer              :: if_ebil
    27 
    28 ! Local
    29   integer              :: numout = 6
     25  logical,intent(out)  :: ok_journe, ok_mensuel, ok_instan       
     26  integer,intent(out)  :: if_ebil
     27
    3028
    3129
     
    3735!
    3836!--- Ca lit le physiq.def ---
     37
     38       ! initialize print_control module variables
     39       call init_print_control
    3940
    4041!******************* parametres anciennement lus dans gcm.def
     
    481482!
    482483
    483   write(numout,*)' ##############################################'
    484   write(numout,*)' Configuration des parametres de la physique: '
    485   write(numout,*)' cycle_diurne = ', cycle_diurne
    486   write(numout,*)' soil_model = ', soil_model
    487   write(numout,*)' ok_orodr = ', ok_orodr
    488   write(numout,*)' ok_orolf = ', ok_orolf
    489   write(numout,*)' ok_gw_nonoro = ', ok_gw_nonoro
    490   write(numout,*)' nbapp_rad = ', nbapp_rad
    491   write(numout,*)' nbapp_chim = ', nbapp_chim
    492   write(numout,*)' iflag_con = ', iflag_con
    493   write(numout,*)' Sortie journaliere = ', ok_journe
    494   write(numout,*)' Sortie mensuelle = ', ok_mensuel
    495   write(numout,*)' Sortie instantanee = ', ok_instan
    496   write(numout,*)' frequence sorties = ', ecriphy 
    497   write(numout,*)' Sortie bilan d''energie, if_ebil =', if_ebil
    498   write(numout,*)' Excentricite = ',R_ecc
    499   write(numout,*)' Equinoxe = ',R_peri
    500   write(numout,*)' Inclinaison =',R_incl
    501   write(numout,*)' tr_scheme = ', tr_scheme
    502   write(numout,*)' iflag_pbl = ', iflag_pbl
    503   write(numout,*)' z0 = ',z0
    504   write(numout,*)' lmixmin = ',lmixmin
    505   write(numout,*)' ksta = ',ksta
    506   write(numout,*)' ok_kzmin = ',ok_kzmin
    507   write(numout,*)' inertie = ', inertie
    508   write(numout,*)' clmain = ',cclmain
    509   write(numout,*)' iflag_ajs = ', iflag_ajs
    510   write(numout,*)' lev_histins = ',lev_histins
    511   write(numout,*)' lev_histday = ',lev_histday
    512   write(numout,*)' lev_histmth = ',lev_histmth
    513   write(numout,*)' reinit_trac = ',reinit_trac
    514   write(numout,*)' ok_cloud = ',ok_cloud
    515   write(numout,*)' cl_scheme = ',cl_scheme
    516   write(numout,*)' ok_chem = ',ok_chem
    517   write(numout,*)' ok_sedim = ',ok_sedim
    518   write(numout,*)' nb_mode = ',nb_mode
    519   write(numout,*)' callnlte = ',callnlte
    520   write(numout,*)' nltemodel = ',nltemodel
    521   write(numout,*)' callnirco2 = ',callnirco2
    522   write(numout,*)' nircorr = ',nircorr
    523   write(numout,*)' callthermos = ',callthermos
    524   write(numout,*)' solvarmod = ',solvarmod
    525   write(numout,*)' solarcondate = ',solarcondate
    526   write(numout,*)' euveff = ',euveff
    527 
    528   return
    529 !#endif
     484  write(lunout,*)' ##############################################'
     485  write(lunout,*)' Configuration des parametres de la physique: '
     486  write(lunout,*)' cycle_diurne = ', cycle_diurne
     487  write(lunout,*)' soil_model = ', soil_model
     488  write(lunout,*)' ok_orodr = ', ok_orodr
     489  write(lunout,*)' ok_orolf = ', ok_orolf
     490  write(lunout,*)' ok_gw_nonoro = ', ok_gw_nonoro
     491  write(lunout,*)' nbapp_rad = ', nbapp_rad
     492  write(lunout,*)' nbapp_chim = ', nbapp_chim
     493  write(lunout,*)' iflag_con = ', iflag_con
     494  write(lunout,*)' Sortie journaliere = ', ok_journe
     495  write(lunout,*)' Sortie mensuelle = ', ok_mensuel
     496  write(lunout,*)' Sortie instantanee = ', ok_instan
     497  write(lunout,*)' frequence sorties = ', ecriphy 
     498  write(lunout,*)' Sortie bilan d''energie, if_ebil =', if_ebil
     499  write(lunout,*)' Excentricite = ',R_ecc
     500  write(lunout,*)' Equinoxe = ',R_peri
     501  write(lunout,*)' Inclinaison =',R_incl
     502  write(lunout,*)' tr_scheme = ', tr_scheme
     503  write(lunout,*)' iflag_pbl = ', iflag_pbl
     504  write(lunout,*)' z0 = ',z0
     505  write(lunout,*)' lmixmin = ',lmixmin
     506  write(lunout,*)' ksta = ',ksta
     507  write(lunout,*)' ok_kzmin = ',ok_kzmin
     508  write(lunout,*)' inertie = ', inertie
     509  write(lunout,*)' clmain = ',cclmain
     510  write(lunout,*)' iflag_ajs = ', iflag_ajs
     511  write(lunout,*)' lev_histins = ',lev_histins
     512  write(lunout,*)' lev_histday = ',lev_histday
     513  write(lunout,*)' lev_histmth = ',lev_histmth
     514  write(lunout,*)' reinit_trac = ',reinit_trac
     515  write(lunout,*)' ok_cloud = ',ok_cloud
     516  write(lunout,*)' cl_scheme = ',cl_scheme
     517  write(lunout,*)' ok_chem = ',ok_chem
     518  write(lunout,*)' ok_sedim = ',ok_sedim
     519  write(lunout,*)' nb_mode = ',nb_mode
     520  write(lunout,*)' callnlte = ',callnlte
     521  write(lunout,*)' nltemodel = ',nltemodel
     522  write(lunout,*)' callnirco2 = ',callnirco2
     523  write(lunout,*)' nircorr = ',nircorr
     524  write(lunout,*)' callthermos = ',callthermos
     525  write(lunout,*)' solvarmod = ',solvarmod
     526  write(lunout,*)' solarcondate = ',solarcondate
     527  write(lunout,*)' euveff = ',euveff
     528
    530529  end subroutine conf_phys
    531530
  • trunk/LMDZ.VENUS/libf/phyvenus/infotrac_phy.F90

    r1621 r1981  
    1717
    1818! tracer names
    19   CHARACTER(len=20),ALLOCATABLE,DIMENSION(:),SAVE :: tname
    20   CHARACTER(len=23),ALLOCATABLE,DIMENSION(:),SAVE :: ttext ! tracer long name for diagnostics
     19  CHARACTER(len=30),ALLOCATABLE,DIMENSION(:),SAVE :: tname
     20  CHARACTER(len=33),ALLOCATABLE,DIMENSION(:),SAVE :: ttext ! tracer long name for diagnostics
    2121!$OMP THREADPRIVATE(tname,ttext)
    2222
     
    2525  SUBROUTINE init_infotrac_phy(iflag_trac_,nqtot_,tname_,ttext_)
    2626  ! Initialize module variables
     27 
     28  USE print_control_mod, ONLY: lunout
    2729  IMPLICIT NONE
    2830 
     
    3335 
    3436  INTEGER :: iq
     37  CHARACTER(LEN=30) :: modname="init_infotrac_phy"
     38  CHARACTER(LEN=50) :: abort_message
    3539 
    3640  iflag_trac=iflag_trac_
     
    4044  ALLOCATE(ttext(nqtot))
    4145  DO iq=1,nqtot
     46    if (len_trim(tname_(iq)).gt.len(tname(iq))) then
     47      abort_message="init_infotrac_phy error; tname_() too long!"
     48      call abort_physic(modname,abort_message,1)
     49    endif
    4250    tname(iq)=tname_(iq)
    4351    ttext(iq)=ttext_(iq)
Note: See TracChangeset for help on using the changeset viewer.