Changeset 4110 for trunk/LMDZ.COMMON/libf/evolution/tracers.F90
- Timestamp:
- Mar 9, 2026, 10:29:53 AM (8 days ago)
- File:
-
- 1 edited
-
trunk/LMDZ.COMMON/libf/evolution/tracers.F90 (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/evolution/tracers.F90
r4074 r4110 24 24 ! PARAMETERS 25 25 ! ---------- 26 character(11), parameter :: traceurdef_name = 'traceur.def'27 integer(di), protected :: nq ! Number of tracers28 character(30), dimension(:), allocatable, protected :: qnames ! Names of tracers29 real(dp), dimension(:,:,:), allocatable, protected :: q_PCM ! Tracers in the "start.nc" at the beginning30 integer(di), protected :: iPCM_qh2o ! Index for H2O vapor tracer from PCM31 real(dp), dimension(:), allocatable, protected :: mmol ! Molar masses of tracers [g/mol]26 character(11), parameter, private :: traceurdef_name = 'traceur.def' 27 integer(di), protected :: nq ! Number of tracers 28 character(30), dimension(:), allocatable, protected :: qnames ! Names of tracers 29 real(dp), dimension(:,:,:), allocatable, protected :: q_PCM ! Tracers in the "start.nc" at the beginning 30 integer(di), protected :: iPCM_qh2o ! Index for H2O vapor tracer from PCM 31 real(dp), dimension(:), allocatable, protected :: mmol ! Molar masses of tracers [g/mol] 32 32 33 33 contains … … 54 54 use stoppage, only: stop_clean 55 55 use geometry, only: ngrid, nlayer 56 use display, only: print_msg 56 use display, only: print_msg, LVL_NFO 57 57 use utility, only: int2str 58 58 … … 70 70 inquire(file = traceurdef_name,exist = here) 71 71 if (.not. here) call stop_clean(__FILE__,__LINE__,'cannot find required file "'//traceurdef_name//'"!',1) 72 call print_msg('> Reading "'//traceurdef_name//'"' )72 call print_msg('> Reading "'//traceurdef_name//'"',LVL_NFO) 73 73 open(newunit = funit,file = traceurdef_name,status = 'old',form = 'formatted',action = 'read',iostat = ierr) 74 74 if (ierr /= 0) call stop_clean(__FILE__,__LINE__,'error opening file "'//traceurdef_name//'"!',ierr) 75 75 read(funit,*) nq 76 call print_msg('nq = '//int2str(nq) )76 call print_msg('nq = '//int2str(nq),LVL_NFO) 77 77 78 78 ! Allocation … … 196 196 use geometry, only: ngrid, nday 197 197 use atmosphere, only: ap, bp 198 use display, only: print_msg 198 use display, only: print_msg, LVL_NFO 199 199 200 200 ! DECLARATION … … 213 213 ! CODE 214 214 ! ---- 215 call print_msg("> Adapting the timeseries of tracers VMR to the new pressure" )215 call print_msg("> Adapting the timeseries of tracers VMR to the new pressure",LVL_NFO) 216 216 217 217 ! Build the first levels of pressure … … 260 260 use atmosphere, only: ap, bp, ps_PCM 261 261 use geometry, only: ngrid, nlayer 262 use display, only: print_msg 262 use display, only: print_msg, LVL_NFO 263 263 264 264 ! DECLARATION … … 279 279 ! CODE 280 280 ! ---- 281 call print_msg('> Building tracers for the PCM' )281 call print_msg('> Building tracers for the PCM',LVL_NFO) 282 282 allocate(dz_plev_PCM(ngrid,nlayer),dz_plev_new(ngrid,nlayer)) 283 283
Note: See TracChangeset
for help on using the changeset viewer.
