Ignore:
Timestamp:
Apr 14, 2016 9:07:42 AM (5 years ago)
Author:
hoffmann
Message:

bugfix in subsidence_mod

File:
1 edited

Legend:

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

    r1851 r1862  
    1919! Current revisions:
    2020! -----------------
    21 !
     21! Bugfix: In case of vector machine optimized model runs, sums_ls_l should not
     22! be addressed if large_scale_forcing is false because sums_ls_l is not
     23! allocated.
    2224!
    2325! Former revisions:
     
    2729! 1850 2016-04-08 13:29:27Z maronga
    2830! Module renamed
    29 !
    3031!
    3132! 1729 2015-11-20 11:01:48Z gronemeier
     
    122123       REAL(wp)     ::  ws_surface !<
    123124
    124        IF ( .NOT. ALLOCATED( w_subs ))  THEN
     125       IF ( .NOT. ALLOCATED( w_subs ) )  THEN
    125126          ALLOCATE( w_subs(nzb:nzt+1) )
    126127          w_subs = 0.0_wp
     
    234235             ENDDO
    235236
    236              sums_ls_l(nzt+1,ls_index) = sums_ls_l(nzt,ls_index)
     237             IF ( large_scale_forcing )  THEN
     238                sums_ls_l(nzt+1,ls_index) = sums_ls_l(nzt,ls_index)
     239             ENDIF
    237240
    238241          ENDDO
Note: See TracChangeset for help on using the changeset viewer.