Ignore:
Timestamp:
Mar 26, 2013 6:16:16 PM (12 years ago)
Author:
hoffmann
Message:

optimization of two-moments cloud physics

File:
1 edited

Legend:

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

    r1114 r1115  
    2020! Current revisions:
    2121! ------------------
    22 !
     22! calculation of qr and nr is restricted to precipitation
    2323!
    2424! Former revisions:
     
    266266          IF (humidity  .OR.  passive_scalar)  THEN
    267267             CALL exchange_horiz( q_p, nbgp )
    268              IF ( cloud_physics .AND. icloud_scheme == 0 )  THEN
     268             IF ( cloud_physics  .AND.  icloud_scheme == 0  .AND.              &
     269                  precipitation)  THEN
    269270                CALL exchange_horiz( qr_p, nbgp )
    270271                CALL exchange_horiz( nr_p, nbgp )
     
    349350
    350351!
    351 !--       If required, compute virtuell potential temperature
    352           IF ( humidity )  THEN
    353              CALL compute_vpt
    354              !$acc update device( vpt )
    355           ENDIF
    356 
    357 !
    358352!--       If required, compute liquid water content
    359353          IF ( cloud_physics )  THEN
     
    361355             !$acc update device( ql )
    362356          ENDIF
    363 
     357!
     358!--       If required, compute virtual potential temperature
     359          IF ( humidity )  THEN
     360             CALL compute_vpt
     361             !$acc update device( vpt )
     362          ENDIF
    364363!
    365364!--       Compute the diffusion quantities
     
    373372                CALL cpu_log( log_point(19), 'prandtl_fluxes', 'stop' )
    374373             ENDIF
    375 
    376374!
    377375!--          Compute the diffusion coefficients
Note: See TracChangeset for help on using the changeset viewer.