Ignore:
Timestamp:
Jun 14, 2013 5:57:58 AM (11 years ago)
Author:
raasch
Message:

New:
---
Initial profiles can be used as reference state in the buoyancy term. New parameter
reference_state introduced. Calculation and handling of reference state in buoyancy term revised.
binary version for restart files changed from 3.9 to 3.9a (no downward compatibility!),
initial profile for rho added to hom (id=77)

Errors:


small bugfix for background communication (time_integration)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/time_integration.f90

    r1172 r1179  
    2020! Current revisions:
    2121! ------------------
    22 !
     22! mean profiles for reference state are only calculated if required,
     23! small bugfix for background communication
    2324!
    2425! Former revisions:
     
    230231!--       Calculate those variables needed in the tendency terms which need
    231232!--       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
    235244          IF ( .NOT. constant_diffusion )  CALL production_e_init
    236245          IF ( ( ws_scheme_mom .OR. ws_scheme_sca )  .AND.  &
     
    438447             IF (humidity  .OR.  passive_scalar)  THEN
    439448                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
    441451                   CALL exchange_horiz( qr_p, nbgp )
    442452                   CALL exchange_horiz( nr_p, nbgp )
Note: See TracChangeset for help on using the changeset viewer.