- Timestamp:
- Jul 18, 2013, 10:20:28 AM (11 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 1747-1749,1751,1753-1767,1769,1771-1772,1774-1776,1778-1794
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/libf/phylmd/phys_output_var_mod.F90
r1335 r1795 14 14 REAL, SAVE, ALLOCATABLE :: snow_o(:), zfra_o(:) 15 15 !$OMP THREADPRIVATE(snow_o, zfra_o) 16 INTEGER, save, ALLOCATABLE :: itau_con(:) ! Nombre de pas ou rflag <= 116 INTEGER, SAVE, ALLOCATABLE :: itau_con(:) ! Nombre de pas ou rflag <= 1 17 17 !$OMP THREADPRIVATE(itau_con) 18 REAL, ALLOCATABLE :: bils_ec(:) ! Contribution of energy conservation 19 REAL, ALLOCATABLE :: bils_tke(:) ! Contribution of energy conservation 20 REAL, ALLOCATABLE :: bils_diss(:) ! Contribution of energy conservation 21 REAL, ALLOCATABLE :: bils_kinetic(:) ! bilan de chaleur au sol, kinetic 22 REAL, ALLOCATABLE :: bils_enthalp(:) ! bilan de chaleur au sol 23 REAL, ALLOCATABLE :: bils_latent(:) ! bilan de chaleur au sol 24 !$OMP THREADPRIVATE(bils_ec,bils_tke,bils_diss,bils_kinetic,bils_enthalp,bils_latent) 18 25 26 ! ug Plein de variables venues de phys_output_mod 27 INTEGER, PARAMETER :: nfiles = 6 28 LOGICAL, DIMENSION(nfiles), SAVE :: clef_files 29 LOGICAL, DIMENSION(nfiles), SAVE :: clef_stations 30 INTEGER, DIMENSION(nfiles), SAVE :: lev_files 31 INTEGER, DIMENSION(nfiles), SAVE :: nid_files 32 INTEGER, DIMENSION(nfiles), SAVE :: nnid_files 33 !$OMP THREADPRIVATE(clef_files, clef_stations, lev_files,nid_files,nnid_files) 34 INTEGER, DIMENSION(nfiles), SAVE :: nnhorim 35 36 INTEGER, DIMENSION(nfiles), SAVE :: nhorim, nvertm 37 INTEGER, DIMENSION(nfiles), SAVE :: nvertap, nvertbp, nvertAlt 38 REAL, DIMENSION(nfiles), SAVE :: zoutm 39 CHARACTER(LEN=20), DIMENSION(nfiles), SAVE :: type_ecri 40 !$OMP THREADPRIVATE(nnhorim, nhorim, nvertm, zoutm,type_ecri) 41 CHARACTER(LEN=20), DIMENSION(nfiles), SAVE :: type_ecri_files, phys_out_filetypes 42 !$OMP THREADPRIVATE(type_ecri_files, phys_out_filetypes) 43 44 ! swaero_diag : flag indicates if it is necessary to do calculation for some aerosol diagnostics 45 LOGICAL, SAVE :: swaero_diag=.FALSE. 46 !$OMP THREADPRIVATE(swaero_diag) 47 48 INTEGER, SAVE:: levmin(nfiles) = 1 49 INTEGER, SAVE:: levmax(nfiles) 50 !$OMP THREADPRIVATE(levmin, levmax) 51 52 TYPE ctrl_out 53 INTEGER,DIMENSION(nfiles) :: flag 54 CHARACTER(len=20) :: name 55 CHARACTER(len=150) :: description 56 CHARACTER(len=20) :: unit 57 CHARACTER(len=20),DIMENSION(nfiles) :: type_ecrit 58 END TYPE ctrl_out 19 59 CONTAINS 20 60 … … 27 67 allocate(snow_o(klon), zfra_o(klon)) 28 68 allocate(itau_con(klon)) 69 allocate (bils_ec(klon),bils_tke(klon),bils_diss(klon),bils_kinetic(klon),bils_enthalp(klon),bils_latent(klon)) 29 70 30 71 END SUBROUTINE phys_output_var_init … … 36 77 37 78 deallocate(snow_o,zfra_o,itau_con) 79 deallocate (bils_ec,bils_tke,bils_diss,bils_kinetic,bils_enthalp,bils_latent) 38 80 39 81 END SUBROUTINE phys_output_var_end
Note: See TracChangeset
for help on using the changeset viewer.