Ignore:
Timestamp:
Sep 20, 2023, 3:09:14 PM (14 months ago)
Author:
Laurent Fairhead
Message:

Moving around some variable declarations to their right place

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmdiso/phys_output_var_mod.F90

    r4523 r4703  
    6666  !$OMP THREADPRIVATE(map_emis_Cb,map_pcld_Cb,map_tcld_Cb,map_emis_ThCi)
    6767  REAL, SAVE, ALLOCATABLE :: map_emis_Anv(:),map_pcld_Anv(:),map_tcld_Anv(:)
    68   !$OMP THREADPRIVATE(map_pcld_ThCi,map_tcld_ThCi,map_emis_Anv,map_pcld_Anv,map_tcld_Anv)             
     68  !$OMP THREADPRIVATE(map_pcld_ThCi,map_tcld_ThCi,map_emis_Anv,map_pcld_Anv,map_tcld_Anv)
     69
     70  ! variables deplacees de phys_local_var_mod
     71  REAL, SAVE, ALLOCATABLE :: scdnc(:,:)
     72  !$OMP THREADPRIVATE(scdnc)
     73  REAL, SAVE, ALLOCATABLE :: cldncl(:)
     74  !$OMP THREADPRIVATE(cldncl)
     75  REAL, SAVE, ALLOCATABLE :: reffclwtop(:)
     76  !$OMP THREADPRIVATE(reffclwtop)
     77  REAL, SAVE, ALLOCATABLE :: lcc(:)
     78  !$OMP THREADPRIVATE(lcc)
     79  REAL, SAVE, ALLOCATABLE :: reffclws(:,:)
     80  !$OMP THREADPRIVATE(reffclws)
     81  REAL, SAVE, ALLOCATABLE :: reffclwc(:,:)
     82  !$OMP THREADPRIVATE(reffclwc)
     83  REAL, SAVE, ALLOCATABLE :: cldnvi(:)
     84  !$OMP THREADPRIVATE(cldnvi)
     85  REAL, SAVE, ALLOCATABLE :: lcc3d(:,:)
     86  !$OMP THREADPRIVATE(lcc3d)
     87  REAL, SAVE, ALLOCATABLE :: lcc3dcon(:,:)
     88  !$OMP THREADPRIVATE(lcc3dcon)
     89  REAL, SAVE, ALLOCATABLE :: lcc3dstra(:,:)
     90  !$OMP THREADPRIVATE(lcc3dstra)
     91  REAL, SAVE, ALLOCATABLE :: icc3dcon(:,:)
     92  !$OMP THREADPRIVATE(icc3dcon)
     93  REAL, SAVE, ALLOCATABLE :: icc3dstra(:,:)
     94  !$OMP THREADPRIVATE(icc3dstra) 
    6995   
    7096
     
    213239         sss(klon))
    214240
     241! Sorties de lmdz_cloud_optics_pro
     242    ALLOCATE(scdnc(klon, klev))
     243    ALLOCATE(cldncl(klon))
     244    ALLOCATE(reffclwtop(klon))
     245    ALLOCATE(lcc(klon))
     246    ALLOCATE(reffclws(klon, klev))
     247    ALLOCATE(reffclwc(klon, klev))
     248    ALLOCATE(cldnvi(klon))
     249    ALLOCATE(lcc3d(klon, klev))
     250    ALLOCATE(lcc3dcon(klon, klev))
     251    ALLOCATE(lcc3dstra(klon, klev))
     252    ALLOCATE(icc3dcon(klon, klev))
     253    ALLOCATE(icc3dstra(klon, klev))
     254
    215255  END SUBROUTINE phys_output_var_init
    216256
     
    251291  !   endif
    252292
     293    DEALLOCATE(scdnc)
     294    DEALLOCATE(cldncl)
     295    DEALLOCATE(reffclwtop)
     296    DEALLOCATE(lcc)
     297    DEALLOCATE(reffclws)
     298    DEALLOCATE(reffclwc)
     299    DEALLOCATE(cldnvi)
     300    DEALLOCATE(lcc3d)
     301    DEALLOCATE(lcc3dcon)
     302    DEALLOCATE(lcc3dstra)
     303    DEALLOCATE(icc3dcon)
     304    DEALLOCATE(icc3dstra)
     305
    253306  END SUBROUTINE phys_output_var_end
    254307
Note: See TracChangeset for help on using the changeset viewer.