Changeset 1179 for palm/trunk/SOURCE/time_integration.f90
- Timestamp:
- Jun 14, 2013 5:57:58 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/time_integration.f90
r1172 r1179 20 20 ! Current revisions: 21 21 ! ------------------ 22 ! 22 ! mean profiles for reference state are only calculated if required, 23 ! small bugfix for background communication 23 24 ! 24 25 ! Former revisions: … … 230 231 !-- Calculate those variables needed in the tendency terms which need 231 232 !-- global communication 232 IF ( .NOT. neutral ) CALL calc_mean_profile( pt, 4 ) 233 IF ( ocean ) CALL calc_mean_profile( rho, 64 ) 234 IF ( humidity ) CALL calc_mean_profile( vpt, 44 ) 233 IF ( .NOT. use_single_reference_value .AND. & 234 .NOT. use_initial_profile_as_reference ) THEN 235 ! 236 !-- Horizontally averaged profiles to be used as reference state in 237 !-- buoyancy terms (WARNING: only the respective last call of 238 !-- calc_mean_profile defines the reference state!) 239 IF ( .NOT. neutral ) CALL calc_mean_profile( pt, 4 ) 240 IF ( ocean ) CALL calc_mean_profile( rho, 64 ) 241 IF ( humidity ) CALL calc_mean_profile( vpt, 44 ) 242 ENDIF 243 235 244 IF ( .NOT. constant_diffusion ) CALL production_e_init 236 245 IF ( ( ws_scheme_mom .OR. ws_scheme_sca ) .AND. & … … 438 447 IF (humidity .OR. passive_scalar) THEN 439 448 CALL exchange_horiz( q_p, nbgp ) 440 IF ( cloud_physics .AND. icloud_scheme == 0 ) THEN 449 IF ( cloud_physics .AND. icloud_scheme == 0 .AND. & 450 precipitation ) THEN 441 451 CALL exchange_horiz( qr_p, nbgp ) 442 452 CALL exchange_horiz( nr_p, nbgp )
Note: See TracChangeset
for help on using the changeset viewer.