Changeset 2585


Ignore:
Timestamp:
Jul 1, 2016, 2:53:50 PM (8 years ago)
Author:
idelkadi
Message:

Corrections des erreurs pour l'implementation du simulateur AIRS

Location:
LMDZ5/trunk/libf/phylmd
Files:
2 edited

Legend:

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

    r2582 r2585  
    1616  INTEGER, SAVE, ALLOCATABLE ::  itau_con(:)       ! Nombre de pas ou rflag <= 1
    1717  !$OMP THREADPRIVATE(itau_con)
    18   REAL, ALLOCATABLE :: bils_ec(:) ! Contribution of energy conservation
    19   REAL, ALLOCATABLE :: bils_ech(:) ! Contribution of energy conservation
    20   REAL, ALLOCATABLE :: bils_tke(:) ! Contribution of energy conservation
    21   REAL, ALLOCATABLE :: bils_diss(:) ! Contribution of energy conservation
    22   REAL, ALLOCATABLE :: bils_kinetic(:) ! bilan de chaleur au sol, kinetic
    23   REAL, ALLOCATABLE :: bils_enthalp(:) ! bilan de chaleur au sol
    24   REAL, ALLOCATABLE :: bils_latent(:) ! bilan de chaleur au sol
     18  REAL, SAVE, ALLOCATABLE :: bils_ec(:) ! Contribution of energy conservation
     19  REAL, SAVE, ALLOCATABLE :: bils_ech(:) ! Contribution of energy conservation
     20  REAL, SAVE, ALLOCATABLE :: bils_tke(:) ! Contribution of energy conservation
     21  REAL, SAVE, ALLOCATABLE :: bils_diss(:) ! Contribution of energy conservation
     22  REAL, SAVE, ALLOCATABLE :: bils_kinetic(:) ! bilan de chaleur au sol, kinetic
     23  REAL, SAVE, ALLOCATABLE :: bils_enthalp(:) ! bilan de chaleur au sol
     24  REAL, SAVE, ALLOCATABLE :: bils_latent(:) ! bilan de chaleur au sol
    2525  !$OMP THREADPRIVATE(bils_ec,bils_ech,bils_tke,bils_diss,bils_kinetic,bils_enthalp,bils_latent)
    2626
     
    2828! Variables de sortie du simulateur AIRS
    2929
    30   REAL, ALLOCATABLE :: map_prop_hc(:),map_prop_hist(:)
    31   REAL, ALLOCATABLE :: alt_tropo(:)
    32   REAL, ALLOCATABLE :: &
    33      & map_emis_hc(:),map_iwp_hc(:),map_deltaz_hc(:),&
    34      & map_pcld_hc(:),map_tcld_hc(:)
    35   REAL, ALLOCATABLE :: map_emis_hist(:),map_iwp_hist(:),map_deltaz_hist(:),&
    36      & map_rad_hist(:)
    37   REAL, ALLOCATABLE :: map_ntot(:),map_hc(:),map_hist(:)
    38   REAL, ALLOCATABLE :: map_Cb(:),map_ThCi(:),map_Anv(:)
    39   REAL, ALLOCATABLE :: map_emis_Cb(:),map_pcld_Cb(:),map_tcld_Cb(:)
    40   REAL, ALLOCATABLE :: map_emis_ThCi(:),map_pcld_ThCi(:),map_tcld_ThCi(:)
    41   REAL, ALLOCATABLE :: map_emis_Anv(:),map_pcld_Anv(:),map_tcld_Anv(:)
    42 
     30  REAL, SAVE, ALLOCATABLE :: map_prop_hc(:),map_prop_hist(:),alt_tropo(:)
     31  !$OMP THREADPRIVATE(map_prop_hc,map_prop_hist,alt_tropo)
     32  REAL, SAVE, ALLOCATABLE :: map_emis_hc(:),map_iwp_hc(:),map_deltaz_hc(:), &
     33                       map_pcld_hc(:),map_tcld_hc(:)
     34  !$OMP THREADPRIVATE(map_emis_hc,map_iwp_hc,map_deltaz_hc,map_pcld_hc,map_tcld_hc)
     35  REAL, SAVE, ALLOCATABLE :: map_emis_hist(:),map_iwp_hist(:),map_deltaz_hist(:),map_rad_hist(:)         
     36  !$OMP THREADPRIVATE(map_emis_hist,map_iwp_hist,map_deltaz_hist,map_rad_hist)
     37  REAL, SAVE, ALLOCATABLE :: map_ntot(:),map_hc(:),map_hist(:)
     38  REAL, SAVE, ALLOCATABLE :: map_Cb(:),map_ThCi(:),map_Anv(:)
     39  !$OMP THREADPRIVATE(map_ntot,map_hc,map_hist,map_Cb,map_ThCi,map_Anv)
     40  REAL, SAVE, ALLOCATABLE :: map_emis_Cb(:),map_pcld_Cb(:),map_tcld_Cb(:)
     41  REAL, SAVE, ALLOCATABLE :: map_emis_ThCi(:),map_pcld_ThCi(:),map_tcld_ThCi(:)
     42  !$OMP THREADPRIVATE(map_emis_Cb,map_pcld_Cb,map_tcld_Cb,map_emis_ThCi)
     43  REAL, SAVE, ALLOCATABLE :: map_emis_Anv(:),map_pcld_Anv(:),map_tcld_Anv(:)
     44  !$OMP THREADPRIVATE(map_pcld_ThCi,map_tcld_ThCi,map_emis_Anv,map_pcld_Anv,map_tcld_Anv)             
     45   
    4346
    4447  ! ug Plein de variables venues de phys_output_mod
     
    122125! Variables de sortie simulateur AIRS
    123126
    124      if (ok_airs) then
     127!     if (ok_airs) then
    125128      allocate (map_prop_hc(klon),map_prop_hist(klon))
    126129      allocate (alt_tropo(klon))
     
    134137      allocate (map_emis_ThCi(klon),map_pcld_ThCi(klon),map_tcld_ThCi(klon))
    135138      allocate (map_emis_Anv(klon),map_pcld_Anv(klon),map_tcld_Anv(klon))
    136      endif
     139!     endif
    137140
    138141    IF (ok_hines) allocate(zustr_gwd_hines(klon), zvstr_gwd_hines(klon))
     
    156159! Variables de sortie simulateur AIRS
    157160
    158      if (ok_airs) then
     161 !    if (ok_airs) then
    159162      deallocate (map_prop_hc,map_prop_hist)
    160163      deallocate (alt_tropo)
     
    168171      deallocate (map_emis_ThCi,map_pcld_ThCi,map_tcld_ThCi)
    169172      deallocate (map_emis_Anv,map_pcld_Anv,map_tcld_Anv)
    170      endif
     173  !   endif
    171174
    172175  END SUBROUTINE phys_output_var_end
  • LMDZ5/trunk/libf/phylmd/simu_airs.F90

    r2580 r2585  
    11641164        real, dimension(klon),intent(out) :: map_deltaz_hc, map_pcld_hc
    11651165        real, dimension(klon),intent(out) :: map_tcld_hc
    1166         real, dimension(klon),intent(out) :: map_emis_Cb,map_pcld_Cb,map_tcld_Cb
     1166        real, dimension(klon),intent(out) :: map_emis_Cb,map_pcld_Cb,map_tcld_Cb 
    11671167        real, dimension(klon),intent(out) :: &
    11681168     & map_emis_ThCi,map_pcld_ThCi,map_tcld_ThCi
     
    11721172     & map_emis_hist,map_iwp_hist,map_deltaz_hist,&
    11731173     & map_rad_hist
    1174         real, dimension(klon),intent(out) :: map_ntot,map_hc,map_hist
    1175         real, dimension(klon),intent(out) :: map_Cb,map_ThCi,map_Anv
     1174       real, dimension(klon),intent(out) :: map_ntot,map_hc,map_hist
     1175       real, dimension(klon),intent(out) :: map_Cb,map_ThCi,map_Anv
    11761176 
    11771177 
Note: See TracChangeset for help on using the changeset viewer.