- Timestamp:
- Aug 7, 2023, 1:42:51 PM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/LMDZ_ECRad/libf/phylmd/ecrad/radiation_scheme.F90
r4646 r4647 9 9 ! 3. Configuration a partir de namelist 10 10 ! 4. frac_std = 0.75 11 ! Juillet 2023 : 12 ! 11 13 ! ============================================================================ 12 14 … … 14 16 ! Inputs 15 17 & (KIDIA, KFDIA, KLON, KLEV, KAEROSOL, NSW, & 16 & IDAY, TIME, &18 & namelist_file, ok_3Deffect, IDAY, TIME, & 17 19 & PSOLAR_IRRADIANCE, & 18 20 & PMU0, PTEMPERATURE_SKIN, & … … 97 99 USE mod_phys_lmdz_para 98 100 USE setup_config_from_lmdz, ONLY : driver_config_type 101 !USE RADIATION_SETUP, ONLY : config_type, driver_config_type 99 102 100 103 IMPLICIT NONE … … 220 223 ! AI ATTENTION 221 224 type(config_type),save :: rad_config 225 !!$OMP THREADPRIVATE(rad_config) 222 226 type(driver_config_type),save :: driver_config 227 !!$OMP THREADPRIVATE(driver_config) 228 !type(config_type) :: rad_config 229 !type(driver_config_type) :: driver_config 223 230 TYPE(single_level_type) :: single_level 224 231 TYPE(thermodynamics_type) :: thermodynamics … … 261 268 262 269 ! Name of file names specified on command line 263 character(len=512) :: file_name270 character(len=512) :: namelist_file 264 271 265 272 logical :: loutput=.true. … … 269 276 !$OMP THREADPRIVATE(debut_ecrad) 270 277 integer, save :: itap_ecrad=1 278 logical :: ok_3Deffect 271 279 272 280 IF (LHOOK) CALL DR_HOOK('RADIATION_SCHEME',0,ZHOOK_HANDLE) 273 print*,'Entree dans radiation_scheme'274 281 275 282 ! A.I juillet 2023 : 276 283 ! Initialisation dans radiation_setup au 1er passage dans Ecrad 277 284 !$OMP MASTER 278 if (debut_ecrad) then 279 ! AI appel radiation_setup 280 call SETUP_RADIATION_SCHEME(loutput,rad_config,driver_config) 281 debut_ecrad=.false. 282 endif 285 if (.not.ok_3Deffect) then 286 if (debut_ecrad) then 287 call SETUP_RADIATION_SCHEME(loutput,namelist_file,rad_config,driver_config) 288 debut_ecrad=.false. 289 endif 290 else 291 call SETUP_RADIATION_SCHEME(loutput,namelist_file,rad_config,driver_config) 292 endif 283 293 !$OMP END MASTER 284 294 !$OMP BARRIER … … 287 297 !AI juillet 2023 : verif des param de config : 288 298 if (lprint_config) then 299 IF (is_master) THEN 289 300 print*,'Parametres de configuration de ecrad, etape ',itap_ecrad 301 print*,'Entree dans radiation_scheme' 302 print*,'ok_3Deffect = ',ok_3Deffect 303 print*,'Fichier namelist = ',namelist_file 304 290 305 print*,'do_sw, do_lw, do_sw_direct, do_3d_effects = ', & 291 306 rad_config%do_sw, rad_config%do_lw, rad_config%do_sw_direct, rad_config%do_3d_effects … … 362 377 363 378 itap_ecrad=itap_ecrad+1 379 ENDIF 364 380 endif 365 381
Note: See TracChangeset
for help on using the changeset viewer.