- Timestamp:
- Oct 19, 2023, 4:02:57 PM (13 months ago)
- Location:
- LMDZ6/branches/LMDZ_ECRad
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/LMDZ_ECRad
- Property svn:mergeinfo changed
-
LMDZ6/branches/LMDZ_ECRad/libf/phylmdiso/phys_output_var_mod.F90
r4482 r4727 29 29 REAL, SAVE, ALLOCATABLE :: d_qw_col(:) ! watter vapour mass budget for each column (kg/m2/s) 30 30 REAL, SAVE, ALLOCATABLE :: d_ql_col(:) ! liquid watter mass budget for each column (kg/m2/s) 31 REAL, SAVE, ALLOCATABLE :: d_qs_col(:) ! solid watter mass budget for each column (kg/m2/s) 31 REAL, SAVE, ALLOCATABLE :: d_qs_col(:) ! cloud ice mass budget for each column (kg/m2/s) 32 REAL, SAVE, ALLOCATABLE :: d_qbs_col(:) ! blowing snow mass budget for each column (kg/m2/s) 32 33 REAL, SAVE, ALLOCATABLE :: d_qt_col(:) ! total watter mass budget for each column (kg/m2/s) 33 34 REAL, SAVE, ALLOCATABLE :: d_ek_col(:) ! kinetic energy budget for each column (W/m2) … … 35 36 REAL, SAVE, ALLOCATABLE :: d_h_qw_col(:) ! enthalpy budget of watter vapour for each column (W/m2) 36 37 REAL, SAVE, ALLOCATABLE :: d_h_ql_col(:) ! enthalpy budget of liquid watter for each column (W/m2) 37 REAL, SAVE, ALLOCATABLE :: d_h_qs_col(:) ! enthalpy budget of solid watter for each column (W/m2) 38 REAL, SAVE, ALLOCATABLE :: d_h_qs_col(:) ! enthalpy budget of cloud ice for each column (W/m2) 39 REAL, SAVE, ALLOCATABLE :: d_h_qbs_col(:) ! enthalpy budget of blowing snow for each column (W/m2) 38 40 REAL, SAVE, ALLOCATABLE :: d_h_col(:) ! total enthalpy budget for each column (W/m2) 39 !$OMP THREADPRIVATE(d_qw_col, d_ql_col, d_qs_col, d_q t_col, d_ek_col, d_h_dair_col)40 !$OMP THREADPRIVATE(d_h_qw_col, d_h_ql_col, d_h_qs_col, d_h_ col)41 !$OMP THREADPRIVATE(d_qw_col, d_ql_col, d_qs_col, d_qbs_col, d_qt_col, d_ek_col, d_h_dair_col) 42 !$OMP THREADPRIVATE(d_h_qw_col, d_h_ql_col, d_h_qs_col, d_h_qbs_col, d_h_col) 41 43 42 44 ! Outputs used in cloudth_vert to extract the moments of the horizontal and … … 64 66 !$OMP THREADPRIVATE(map_emis_Cb,map_pcld_Cb,map_tcld_Cb,map_emis_ThCi) 65 67 REAL, SAVE, ALLOCATABLE :: map_emis_Anv(:),map_pcld_Anv(:),map_tcld_Anv(:) 66 !$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) 67 95 68 96 … … 173 201 174 202 allocate (bils_ec(klon),bils_ech(klon),bils_tke(klon),bils_diss(klon),bils_kinetic(klon),bils_enthalp(klon),bils_latent(klon)) 175 allocate (d_qw_col(klon), d_ql_col(klon), d_qs_col(klon), d_q t_col(klon), d_ek_col(klon), d_h_dair_col(klon) &176 & , d_h_qw_col(klon), d_h_ql_col(klon), d_h_qs_col(klon), d_h_ col(klon))177 d_qw_col=0. ; d_ql_col=0. ; d_qs_col=0. ; d_q t_col=0. ; d_ek_col=0. ; d_h_dair_col =0.178 d_h_qw_col=0. ; d_h_ql_col=0. ; d_h_qs_col=0. ; d_h_ col=0.203 allocate (d_qw_col(klon), d_ql_col(klon), d_qs_col(klon), d_qbs_col(klon), d_qt_col(klon), d_ek_col(klon), d_h_dair_col(klon) & 204 & , d_h_qw_col(klon), d_h_ql_col(klon), d_h_qs_col(klon), d_h_qbs_col(klon), d_h_col(klon)) 205 d_qw_col=0. ; d_ql_col=0. ; d_qs_col=0. ; d_qbs_col=0. ; d_qt_col=0. ; d_ek_col=0. ; d_h_dair_col =0. 206 d_h_qw_col=0. ; d_h_ql_col=0. ; d_h_qs_col=0. ; d_h_qbs_col=0. ; d_h_col=0. 179 207 180 208 ! Outputs used in cloudth_vert … … 211 239 sss(klon)) 212 240 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 213 255 END SUBROUTINE phys_output_var_init 214 256 … … 223 265 deallocate(sza_o) 224 266 deallocate (bils_ec,bils_ech,bils_tke,bils_diss,bils_kinetic,bils_enthalp,bils_latent) 225 deallocate (d_qw_col, d_ql_col, d_qs_col, d_q t_col, d_ek_col, d_h_dair_col &226 & , d_h_qw_col, d_h_ql_col, d_h_qs_col, d_h_ col)267 deallocate (d_qw_col, d_ql_col, d_qs_col, d_qbs_col, d_qt_col, d_ek_col, d_h_dair_col & 268 & , d_h_qw_col, d_h_ql_col, d_h_qs_col, d_h_qbs_col, d_h_col) 227 269 228 270 ! Outputs used in cloudth_vert … … 249 291 ! endif 250 292 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 251 306 END SUBROUTINE phys_output_var_end 252 307
Note: See TracChangeset
for help on using the changeset viewer.