Ignore:
Timestamp:
Jul 6, 2021, 9:16:14 AM (3 years ago)
Author:
jyg
Message:

Bug fixes concerning various variables ill-initialized, ill-used, ill-printed, or ill-placed.
+ cv_gen moved from phys_local_var_mod.F90 to phys_state_var_mod.F90; ==> changes in physiq_mod.F90
and phys_output_write.F90
+ awake_dens added in phys_state_var_mod.F90
+ cv_gen and awake_dens now initialized in phyetat0.F90 and written in phyredem.F90
+ cv_gen, awake_dens, and solswfdiff now initialized in old_lmdz1d.F90 and scm.F90
+ useless variables suppressed in pbl_surface_mod.F90.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/physiq_mod.F90

    r3908 r3956  
    245245       alp_bl_stat, n2, s2,  &
    246246       proba_notrig, random_notrig,  &
    247        cv_gen,  &
     247!!       cv_gen,  &  !moved to phys_state_var_mod
    248248       !
    249249       dnwd0,  &
     
    16901690
    16911691       CALL iniradia(klon,klev,paprs(1,1:klev+1))
    1692 
    1693        ! Initialisation des champs dans phytrac* qui sont utilisés par phys_output_write*
     1692       !
     1693!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     1694       ! Initialisation des champs dans phytrac* qui sont utilises par phys_output_write*
     1695       !
     1696!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     1697
    16941698#ifdef CPP_Dust
    16951699       ! Quand on utilise SPLA, on force iflag_phytrac=1
     
    17801784          CALL abort_physic(modname,abort_message,1)
    17811785       ENDIF
     1786
     1787!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     1788       ! Initialisation pour la convection de K.E. et pour les poches froides
     1789       !
     1790!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     1791
    17821792       WRITE(lunout,*)"Clef pour la convection, iflag_con=", iflag_con
    17831793       WRITE(lunout,*)"Clef pour le driver de la convection, ok_cvl=", &
     
    18291839             d_s_wk(:) = 0.
    18301840             d_dens_wk(:) = 0.
    1831           ENDIF
     1841          ENDIF  !  (iflag_wake>=1)
    18321842
    18331843          !        do i = 1,klon
     
    18401850       !   ALLOCATE(lonGCM(0), latGCM(0))
    18411851       !   ALLOCATE(iGCM(0), jGCM(0))
    1842        ENDIF
    1843 
     1852       ENDIF  !  (iflag_con.GE.3)
     1853       !
    18441854       DO i=1,klon
    18451855          rugoro(i) = f_rugoro * MAX(1.0e-05, zstd(i)*zsig(i)/2.0)
Note: See TracChangeset for help on using the changeset viewer.