Changeset 5131 for LMDZ6/trunk/libf/phylmd/phys_local_var_mod.F90
- Timestamp:
- Jul 26, 2024, 9:43:31 AM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/phys_local_var_mod.F90
r5109 r5131 817 817 #endif 818 818 819 ! --- Offline ----------------------------------------------------------- 820 LOGICAL, SAVE :: write_offline 821 !$OMP THREADPRIVATE(write_offline) 822 REAL,ALLOCATABLE,SAVE :: ftsol_stok(:,:) ! flux de masse dans le panache montant 823 REAL,ALLOCATABLE,SAVE :: pctsrf_stok(:,:) ! flux de masse dans le panache descendant 824 !$OMP THREADPRIVATE(ftsol_stok,pctsrf_stok) 825 REAL,ALLOCATABLE,SAVE :: mfu_stok(:,:) ! flux de masse dans le panache montant 826 REAL,ALLOCATABLE,SAVE :: mfd_stok(:,:) ! flux de masse dans le panache descendant 827 REAL,ALLOCATABLE,SAVE :: de_u_stok(:,:) ! flux de traine dans le panache montant 828 REAL,ALLOCATABLE,SAVE :: en_d_stok(:,:) ! flux en traine dans le panache descendant 829 REAL,ALLOCATABLE,SAVE :: de_d_stok(:,:) ! flux de traine dans le panache montant 830 REAL,ALLOCATABLE,SAVE :: en_u_stok(:,:) ! flux en traine dans le panache descendant 831 REAL,ALLOCATABLE,SAVE :: coefh_stok(:,:) ! flux de traine dans le panache descendant 832 !$OMP THREADPRIVATE(mfu_stok,mfd_stok,de_u_stok,en_d_stok,de_d_stok) 833 !$OMP THREADPRIVATE(en_u_stok,coefh_stok) 834 REAL,ALLOCATABLE,SAVE :: entr_therm_stok(:,:) ! Les Thermiques :(Abderr25 1102) 835 REAL,ALLOCATABLE,SAVE :: fm_therm_stok(:,:) ! Les Thermiques :(Abderr25 1102) 836 !$OMP THREADPRIVATE(entr_therm_stok, fm_therm_stok) 837 REAL,DIMENSION(:), ALLOCATABLE,SAVE :: yu1_stok 838 REAL,DIMENSION(:), ALLOCATABLE,SAVE :: yv1_stok 839 !$OMP THREADPRIVATE(yu1_stok, yv1_stok) 840 REAL,DIMENSION(:,:), ALLOCATABLE,SAVE :: da_stok 841 REAL,DIMENSION(:,:,:), ALLOCATABLE,SAVE :: phi_stok 842 REAL,DIMENSION(:,:), ALLOCATABLE,SAVE :: mp_stok 843 REAL,DIMENSION(:,:), ALLOCATABLE,SAVE :: upwd_stok 844 REAL,DIMENSION(:,:), ALLOCATABLE,SAVE :: dnwd_stok 845 REAL,DIMENSION(:,:), ALLOCATABLE,SAVE :: wght_stok 846 !$OMPTHREADPRIVATE(da_stok,phi_stok,mp_stok,upwd_stok,dnwd_stok,wght_stok) 847 REAL,ALLOCATABLE,SAVE :: t_stok(:,:) ! convection 848 REAL,ALLOCATABLE,SAVE :: sh_stok(:,:) ! convection 849 !$OMP THREADPRIVATE(t_stok,sh_stok) 850 ! ----------------------------------------------------------------------- 851 852 853 819 854 CONTAINS 820 855 … … 1281 1316 #endif 1282 1317 1318 ! --- Offline ----------------------------------------------------------- 1319 ALLOCATE(t_stok(klon,klev)) 1320 ALLOCATE(sh_stok(klon,klev)) 1321 ALLOCATE(mfu_stok(klon,klev)) 1322 ALLOCATE(mfd_stok(klon,klev)) 1323 ALLOCATE(de_u_stok(klon,klev)) 1324 ALLOCATE(en_d_stok(klon,klev)) 1325 ALLOCATE(de_d_stok(klon,klev)) 1326 ALLOCATE(en_u_stok(klon,klev)) 1327 ALLOCATE(coefh_stok(klon,klev)) 1328 ALLOCATE(entr_therm_stok(klon,klev)) 1329 ALLOCATE(fm_therm_stok(klon,klev)) 1330 ALLOCATE(da_stok(klon,klev)) 1331 ALLOCATE(phi_stok(klon,klev,klev)) 1332 ALLOCATE(mp_stok(klon,klev)) 1333 ALLOCATE(upwd_stok(klon,klev)) 1334 ALLOCATE(dnwd_stok(klon,klev)) 1335 ALLOCATE(wght_stok(klon,klev)) 1336 ALLOCATE(yu1_stok(klon)) 1337 ALLOCATE(yv1_stok(klon)) 1338 ALLOCATE(ftsol_stok(klon,nbsrf)) 1339 ALLOCATE(pctsrf_stok(klon,nbsrf)) 1340 ! ----------------------------------------------------------------------- 1341 1342 1343 1283 1344 END SUBROUTINE phys_local_var_init 1284 1345 … … 1676 1737 #endif 1677 1738 1739 ! --- Offline ----------------------------------------------------------- 1740 DEALLOCATE(t_stok) 1741 DEALLOCATE(sh_stok) 1742 DEALLOCATE(mfu_stok) 1743 DEALLOCATE(mfd_stok) 1744 DEALLOCATE(de_u_stok) 1745 DEALLOCATE(en_d_stok) 1746 DEALLOCATE(de_d_stok) 1747 DEALLOCATE(en_u_stok) 1748 DEALLOCATE(coefh_stok) 1749 DEALLOCATE(entr_therm_stok) 1750 DEALLOCATE(fm_therm_stok) 1751 DEALLOCATE(da_stok) 1752 DEALLOCATE(phi_stok) 1753 DEALLOCATE(mp_stok) 1754 DEALLOCATE(upwd_stok) 1755 DEALLOCATE(dnwd_stok) 1756 DEALLOCATE(wght_stok) 1757 DEALLOCATE(yu1_stok) 1758 DEALLOCATE(yv1_stok) 1759 DEALLOCATE(ftsol_stok) 1760 DEALLOCATE(pctsrf_stok) 1761 ! ----------------------------------------------------------------------- 1762 1678 1763 END SUBROUTINE phys_local_var_end 1679 1764
Note: See TracChangeset
for help on using the changeset viewer.