Ignore:
Timestamp:
Jan 17, 2015, 2:00:00 PM (9 years ago)
Author:
jyg
Message:

1/ Update of the loop on sub-surfaces in pbl_surface_mod.F90 : all initializations
are removed from the loop and put before the loop.
2/ The possibility of nudging RH, T, u, and v is added in lmdz1d.F90 (and in
1DUTILS.h).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/phys_local_var_mod.F90

    r2159 r2181  
    278278      REAL,ALLOCATABLE,SAVE,DIMENSION(:) :: zxfluxlat_x, zxfluxlat_w
    279279!$OMP THREADPRIVATE(zxfluxlat_x, zxfluxlat_w)
    280 ! Entrées supplémentaires couche-limite
    281       REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: t_x, t_w
    282 !$OMP THREADPRIVATE(t_x, t_w)
    283       REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: q_x, q_w
    284 !$OMP THREADPRIVATE(q_x, q_w)
    285 ! Sorties ferret
     280!jyg<
     281!!! Entrées supplémentaires couche-limite
     282!!      REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: t_x, t_w
     283!!!$OMP THREADPRIVATE(t_x, t_w)
     284!!      REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: q_x, q_w
     285!!!$OMP THREADPRIVATE(q_x, q_w)
     286!>jyg
     287!!! Sorties ferret
    286288      REAL,ALLOCATABLE,SAVE,DIMENSION(:,:) :: dtvdf_x, dtvdf_w
    287289!$OMP THREADPRIVATE(dtvdf_x, dtvdf_w)
     
    516518      ALLOCATE(sens_x(klon), sens_w(klon))
    517519      ALLOCATE(zxfluxlat_x(klon), zxfluxlat_w(klon))
    518       ALLOCATE(t_x(klon,klev), t_w(klon,klev))
    519       ALLOCATE(q_x(klon,klev), q_w(klon,klev))
     520!jyg<
     521!!      ALLOCATE(t_x(klon,klev), t_w(klon,klev))
     522!!      ALLOCATE(q_x(klon,klev), q_w(klon,klev))
     523!>jyg
    520524      ALLOCATE(dtvdf_x(klon,klev), dtvdf_w(klon,klev))
    521525      ALLOCATE(dqvdf_x(klon,klev), dqvdf_w(klon,klev))
     
    710714      DEALLOCATE(sens_x, sens_w)
    711715      DEALLOCATE(zxfluxlat_x, zxfluxlat_w)
    712       DEALLOCATE(t_x, t_w)
    713       DEALLOCATE(q_x, q_w)
     716!jyg<
     717!!      DEALLOCATE(t_x, t_w)
     718!!      DEALLOCATE(q_x, q_w)
     719!>jyg
    714720      DEALLOCATE(dtvdf_x, dtvdf_w)
    715721      DEALLOCATE(dqvdf_x, dqvdf_w)
Note: See TracChangeset for help on using the changeset viewer.