Ignore:
Timestamp:
Nov 28, 2011 9:47:19 AM (13 years ago)
Author:
raasch
Message:

scalar quantities can be excluded from Rayleigh damping; bugfix for long lines in configuration file with more than 300 characters

File:
1 edited

Legend:

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

    r768 r785  
    77! Current revisions:
    88! ------------------
    9 !
     9! initialization of rdf_sc
    1010!
    1111! Former revisions:
     
    184184              sums_divnew_l(0:statistic_regions),                           &
    185185              sums_divold_l(0:statistic_regions) )
    186     ALLOCATE( dp_smooth_factor(nzb:nzt), rdf(nzb+1:nzt) )
     186    ALLOCATE( dp_smooth_factor(nzb:nzt), rdf(nzb+1:nzt), rdf_sc(nzb+1:nzt) )
    187187    ALLOCATE( ngp_2dh_outer(nzb:nzt+1,0:statistic_regions),                 &
    188188              ngp_2dh_outer_l(nzb:nzt+1,0:statistic_regions),               &
     
    14711471!
    14721472!-- Initialize Rayleigh damping factors
    1473     rdf = 0.0
     1473    rdf    = 0.0
     1474    rdf_sc = 0.0
    14741475    IF ( rayleigh_damping_factor /= 0.0 )  THEN
    14751476       IF ( .NOT. ocean )  THEN
     
    14931494       ENDIF
    14941495    ENDIF
     1496    IF ( scalar_rayleigh_damping )  rdf_sc = rdf
    14951497
    14961498!
Note: See TracChangeset for help on using the changeset viewer.