Ignore:
Timestamp:
Mar 27, 2014 1:18:20 PM (10 years ago)
Author:
heinze
Message:

Bugfix: REAL constants provided with KIND-attribute especially in call of intrinsic function like MAX, MIN, SIGN

File:
1 edited

Legend:

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

    r1323 r1346  
    2020! Current revisions:
    2121! -----------------
    22 !
     22! Bugfix: REAL constants provided with KIND-attribute especially in call of
     23! intrinsic function like MAX, MIN, SIGN
    2324!
    2425! Former revisions:
     
    675676             DO  k = damp_level_ind_1d+1, nzt+1
    676677                km1d(k) = 1.1 * km1d(k-1)
    677                 km1d(k) = MIN( km1d(k), 10.0 )
     678                km1d(k) = MIN( km1d(k), 10.0_wp )
    678679             ENDDO
    679680
     
    784785       uv_total = SQRT( u1d(nzb+1)**2 + v1d(nzb+1)**2 )
    785786       IF ( ABS( v1d(nzb+1) ) .LT. 1.0E-5 )  THEN
    786           alpha = ACOS( SIGN( 1.0 , u1d(nzb+1) ) )
     787          alpha = ACOS( SIGN( 1.0_wp , u1d(nzb+1) ) )
    787788       ELSE
    788789          alpha = ACOS( u1d(nzb+1) / uv_total )
Note: See TracChangeset for help on using the changeset viewer.