Changeset 3274 for palm/trunk/SOURCE/init_masks.f90
- Timestamp:
- Sep 24, 2018 3:42:55 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/init_masks.f90
r3065 r3274 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Modularization of all bulk cloud physics code components 28 ! 29 ! 3065 2018-06-12 07:03:02Z Giersch 27 30 ! dz_stretch_level was replaced by dz_stretch_level_start 28 31 ! … … 134 137 135 138 USE control_parameters, & 136 ONLY: constant_diffusion, cloud_droplets, cloud_physics,&139 ONLY: constant_diffusion, cloud_droplets, & 137 140 data_output_masks, data_output_masks_user, & 138 141 doav, doav_n, domask, domask_no, dz, dz_stretch_level_start, & … … 142 145 mask_x_loop, mask_xyz_dimension, mask_y, mask_y_loop, mask_z, & 143 146 mask_z_loop, max_masks, message_string, mid, & 144 microphysics_morrison, microphysics_seifert, passive_scalar, & 145 ocean, varnamelength 146 147 passive_scalar, ocean, varnamelength 148 147 149 148 150 USE grid_variables, & … … 153 155 154 156 USE kinds 157 158 USE bulk_cloud_model_mod, & 159 ONLY: bulk_cloud_model, microphysics_morrison, microphysics_seifert 155 160 156 161 USE netcdf_interface, & … … 309 314 310 315 CASE ( 'lpt' ) 311 IF ( .NOT. cloud_physics) THEN312 WRITE ( message_string, * ) 'output of "', TRIM( var ), & 313 '" requires cloud_physics= .TRUE.'316 IF ( .NOT. bulk_cloud_model ) THEN 317 WRITE ( message_string, * ) 'output of "', TRIM( var ), & 318 '" requires bulk_cloud_model = .TRUE.' 314 319 CALL message( 'init_masks', 'PA0108', 1, 2, 0, 6, 0 ) 315 320 ENDIF … … 317 322 318 323 CASE ( 'nc' ) 319 IF ( .NOT. cloud_physics) THEN320 WRITE ( message_string, * ) 'output of "', TRIM( var ), & 321 '" requires cloud_physics= .TRUE.'324 IF ( .NOT. bulk_cloud_model ) THEN 325 WRITE ( message_string, * ) 'output of "', TRIM( var ), & 326 '" requires bulk_cloud_model = .TRUE.' 322 327 CALL message( 'init_masks', 'PA0108', 1, 2, 0, 6, 0 ) 323 328 ELSEIF ( .NOT. microphysics_morrison ) THEN … … 329 334 330 335 CASE ( 'nr' ) 331 IF ( .NOT. cloud_physics) THEN332 WRITE ( message_string, * ) 'output of "', TRIM( var ), & 333 '" requires cloud_physics= .TRUE.'336 IF ( .NOT. bulk_cloud_model ) THEN 337 WRITE ( message_string, * ) 'output of "', TRIM( var ), & 338 '" requires bulk_cloud_model = .TRUE.' 334 339 CALL message( 'init_masks', 'PA0108', 1, 2, 0, 6, 0 ) 335 340 ELSEIF ( .NOT. microphysics_seifert ) THEN … … 360 365 361 366 CASE ( 'qc' ) 362 IF ( .NOT. cloud_physics) THEN367 IF ( .NOT. bulk_cloud_model ) THEN 363 368 message_string = 'output of "' // TRIM( var ) // '"' // & 364 'requires cloud_physics= .TRUE.'369 'requires bulk_cloud_model = .TRUE.' 365 370 CALL message( 'check_parameters', 'PA0108', 1, 2, 0, 6, 0 ) 366 371 ENDIF … … 368 373 369 374 CASE ( 'ql' ) 370 IF ( .NOT. ( cloud_physics.OR. cloud_droplets ) ) THEN371 WRITE ( message_string, * ) 'output of "', TRIM( var ), & 372 '" requires cloud_physics = .TRUE. or cloud_droplets',&373 ' = .TRUE.'375 IF ( .NOT. ( bulk_cloud_model .OR. cloud_droplets ) ) THEN 376 WRITE ( message_string, * ) 'output of "', TRIM( var ), & 377 '" requires bulk_cloud_model = .TRUE. or ', & 378 'cloud_droplets = .TRUE.' 374 379 CALL message( 'init_masks', 'PA0106', 1, 2, 0, 6, 0 ) 375 380 ENDIF … … 387 392 388 393 CASE ( 'qv' ) 389 IF ( .NOT. cloud_physics) THEN390 WRITE ( message_string, * ) 'output of "', TRIM( var ), & 391 '" requires cloud_physics= .TRUE.'394 IF ( .NOT. bulk_cloud_model ) THEN 395 WRITE ( message_string, * ) 'output of "', TRIM( var ), & 396 '" requires bulk_cloud_model = .TRUE.' 392 397 CALL message( 'init_masks', 'PA0108', 1, 2, 0, 6, 0 ) 393 398 ENDIF … … 395 400 396 401 CASE ( 'qr' ) 397 IF ( .NOT. cloud_physics) THEN402 IF ( .NOT. bulk_cloud_model ) THEN 398 403 message_string = 'output of "' // TRIM( var ) // '" ' // & 399 'requires cloud_physics= .TRUE.'404 'requires bulk_cloud_model = .TRUE.' 400 405 CALL message( 'check_parameters', 'PA0108', 1, 2, 0, 6, 0 ) 401 406 ELSEIF ( .NOT. microphysics_seifert ) THEN
Note: See TracChangeset
for help on using the changeset viewer.