Changeset 3887 for palm/trunk/SOURCE/bulk_cloud_model_mod.f90
- Timestamp:
- Apr 12, 2019 8:47:41 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/bulk_cloud_model_mod.f90
r3885 r3887 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Added bcm_exchange_horiz which is called after non_transport_physics 28 ! 29 ! 3885 2019-04-11 11:29:34Z kanani 27 30 ! Changes related to global restructuring of location messages and introduction 28 31 ! of additional debug messages … … 260 263 261 264 USE indices, & 262 ONLY: n xl, nxlg, nxr, nxrg, nys, nysg, nyn, nyng, nzb, nzt,&265 ONLY: nbgp, nxl, nxlg, nxr, nxrg, nys, nysg, nyn, nyng, nzb, nzt, & 263 266 wall_flags_0 264 267 … … 369 372 bcm_actions, & 370 373 bcm_non_transport_physics, & 374 bcm_exchange_horiz, & 371 375 bcm_prognostic_equations, & 372 376 bcm_3d_data_averaging, & … … 432 436 MODULE PROCEDURE bcm_non_transport_physics_ij 433 437 END INTERFACE bcm_non_transport_physics 438 439 INTERFACE bcm_exchange_horiz 440 MODULE PROCEDURE bcm_exchange_horiz 441 END INTERFACE bcm_exchange_horiz 434 442 435 443 INTERFACE bcm_prognostic_equations … … 1312 1320 1313 1321 END SUBROUTINE bcm_non_transport_physics_ij 1322 1323 1324 !------------------------------------------------------------------------------! 1325 ! Description: 1326 ! ------------ 1327 !> Control of microphysics for all grid points 1328 !------------------------------------------------------------------------------! 1329 SUBROUTINE bcm_exchange_horiz 1330 1331 1332 IF ( .NOT. microphysics_sat_adjust .AND. & 1333 ( intermediate_timestep_count == 1 .OR. & 1334 call_microphysics_at_all_substeps ) ) & 1335 THEN 1336 IF ( microphysics_morrison ) THEN 1337 CALL exchange_horiz( nc, nbgp ) 1338 CALL exchange_horiz( qc, nbgp ) 1339 ENDIF 1340 IF ( microphysics_seifert ) THEN 1341 CALL exchange_horiz( qr, nbgp ) 1342 CALL exchange_horiz( nr, nbgp ) 1343 ENDIF 1344 CALL exchange_horiz( q, nbgp ) 1345 CALL exchange_horiz( pt, nbgp ) 1346 ENDIF 1347 1348 1349 END SUBROUTINE bcm_exchange_horiz 1350 1314 1351 1315 1352 … … 2898 2935 CALL cpu_log( log_point_s(50), 'adjust_cloud', 'start' ) 2899 2936 2900 DO i = nxl g, nxrg2901 DO j = nys g, nyng2937 DO i = nxl, nxr 2938 DO j = nys, nyn 2902 2939 DO k = nzb+1, nzt 2903 2940 ! … … 3020 3057 CALL cpu_log( log_point_s(65), 'activation', 'start' ) 3021 3058 3022 DO i = nxl g, nxrg3023 DO j = nys g, nyng3059 DO i = nxl, nxr 3060 DO j = nys, nyn 3024 3061 DO k = nzb+1, nzt 3025 3062 ! … … 3221 3258 CALL cpu_log( log_point_s(66), 'condensation', 'start' ) 3222 3259 3223 DO i = nxl g, nxrg3224 DO j = nys g, nyng3260 DO i = nxl, nxr 3261 DO j = nys, nyn 3225 3262 DO k = nzb+1, nzt 3226 3263 ! … … 3381 3418 CALL cpu_log( log_point_s(47), 'autoconversion', 'start' ) 3382 3419 3383 DO i = nxl g, nxrg3384 DO j = nys g, nyng3420 DO i = nxl, nxr 3421 DO j = nys, nyn 3385 3422 DO k = nzb+1, nzt 3386 3423 ! … … 3615 3652 REAL(wp) :: flag !< flag to mask topography grid points 3616 3653 3617 DO i = nxl g, nxrg3618 DO j = nys g, nyng3654 DO i = nxl, nxr 3655 DO j = nys, nyn 3619 3656 ! 3620 3657 !-- Determine vertical index of topography top … … 3716 3753 CALL cpu_log( log_point_s(56), 'accretion', 'start' ) 3717 3754 3718 DO i = nxl g, nxrg3719 DO j = nys g, nyng3755 DO i = nxl, nxr 3756 DO j = nys, nyn 3720 3757 DO k = nzb+1, nzt 3721 3758 ! … … 3877 3914 CALL cpu_log( log_point_s(57), 'selfcollection', 'start' ) 3878 3915 3879 DO i = nxl g, nxrg3880 DO j = nys g, nyng3916 DO i = nxl, nxr 3917 DO j = nys, nyn 3881 3918 DO k = nzb+1, nzt 3882 3919 ! … … 3994 4031 CALL cpu_log( log_point_s(58), 'evaporation', 'start' ) 3995 4032 3996 DO i = nxl g, nxrg3997 DO j = nys g, nyng4033 DO i = nxl, nxr 4034 DO j = nys, nyn 3998 4035 DO k = nzb+1, nzt 3999 4036 ! … … 4230 4267 sed_nc(nzt+1) = 0.0_wp 4231 4268 4232 DO i = nxl g, nxrg4233 DO j = nys g, nyng4269 DO i = nxl, nxr 4270 DO j = nys, nyn 4234 4271 DO k = nzt, nzb+1, -1 4235 4272 ! … … 4430 4467 ! 4431 4468 !-- Compute velocities 4432 DO i = nxl g, nxrg4433 DO j = nys g, nyng4469 DO i = nxl, nxr 4470 DO j = nys, nyn 4434 4471 DO k = nzb+1, nzt 4435 4472 !
Note: See TracChangeset
for help on using the changeset viewer.