Ignore:
Timestamp:
Jan 17, 2025, 6:16:25 PM (13 days ago)
Author:
aborella
Message:

Merge with trunk

Location:
LMDZ6/branches/contrails
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/contrails

  • LMDZ6/branches/contrails/libf/phylmd/phys_output_mod.F90

    r5450 r5489  
    77  USE phys_output_write_mod, ONLY : phys_output_write
    88  REAL, DIMENSION(nfiles),SAVE :: ecrit_files
     9  !$OMP THREADPRIVATE(ecrit_files)
     10
    911
    1012! Abderrahmane 12 2007
     
    139141    REAL, DIMENSION(nfiles), SAVE ::  phys_out_latmin  = [   -90.,    -90.,    -90.,    -90.,    -90.,    -90.,    -90.,    -90.,    -90.,    -90.]
    140142    REAL, DIMENSION(nfiles), SAVE ::  phys_out_latmax  = [    90.,     90.,     90.,     90.,     90.,     90.,     90.,     90.,     90.,     90.]
     143!$OMP THREADPRIVATE(phys_out_regfkey,phys_out_lonmin,phys_out_lonmax,phys_out_latmin,phys_out_latmax)
     144
    141145    REAL, DIMENSION(klev,2) :: Ahyb_bounds, Bhyb_bounds
    142146    REAL, DIMENSION(klev+1)   :: lev_index
     
    172176    ALLOCATE(o_dtr_evapls(nqtot),o_dtr_ls(nqtot),o_dtr_trsp(nqtot))
    173177    ALLOCATE(o_dtr_sscav(nqtot),o_dtr_sat(nqtot),o_dtr_uscav(nqtot))
    174     ALLOCATE(o_dtr_wet_con(nqtot))
     178    ALLOCATE(o_dtr_wet_cv(nqtot), o_dtr_wet(nqtot))
    175179    ALLOCATE(o_dtr_dry(nqtot),o_dtr_vdf(nqtot))
    176180IF (CPPKEY_STRATAER) THEN
     
    513517          itr = 0; itrb = 0
    514518          DO iq = 1, nqtot
    515             IF(.NOT.(tracers(iq)%isAdvected .AND. tracers(iq)%isInPhysics)) CYCLE
     519            IF(.NOT.tracers(iq)%isInPhysics) CYCLE
    516520            itr = itr + 1
    517521            dn = 'd'//TRIM(tracers(iq)%name)//'_'
     
    542546
    543547            lnam = 'tracer convective wet deposition'//TRIM(tracers(iq)%longName)
    544             tnam = TRIM(dn)//'wet_con';       o_dtr_wet_con       (itr) = ctrl_out(flag, tnam, lnam, "-", [('',i=1,nfiles)])
     548            tnam = TRIM(dn)//'wet_cv';       o_dtr_wet_cv       (itr) = ctrl_out(flag, tnam, lnam, "-", [('',i=1,nfiles)])
     549            lnam = 'tracer total wet deposition'//TRIM(tracers(iq)%longName)
     550            tnam = TRIM(dn)//'wet';       o_dtr_wet       (itr) = ctrl_out(flag, tnam, lnam, "-", [('',i=1,nfiles)])
    545551            lnam = 'tracer tendency dry deposition'//TRIM(tracers(iq)%longName)
    546552            tnam = 'cum'//TRIM(dn)//'dry';  o_dtr_dry       (itr) = ctrl_out(flag, tnam, lnam, "-", [('',i=1,nfiles)])
     
    636642
    637643!  DO iq=1,nqtot
    638 !    IF(.NOT.(tracers(iq)%isAdvected .AND. tracers(iq)%isInPhysics)) CYCLE
     644!    IF(.NOT.tracers(iq)%isInPhysics) CYCLE
    639645!    WRITE(*,'(a,i1,a,10i3)')'trac(',iq,')%flag = ',o_trac(iq)%flag
    640646!    WRITE(*,'(a,i1,a)')'trac(',iq,')%name = '//TRIM(o_trac(iq)%name)
Note: See TracChangeset for help on using the changeset viewer.