Ignore:
Timestamp:
Mar 20, 2014 4:38:49 PM (10 years ago)
Author:
raasch
Message:

REAL functions and a lot of REAL constants provided with KIND-attribute,
some small bugfixes

File:
1 edited

Legend:

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

    r1321 r1322  
    2020! Current revisions:
    2121! -----------------
    22 !
     22! exponent 4.0 changed to integer
    2323!
    2424! Former revisions:
     
    127127
    128128             temperature     = pt(nzb,j,i) * t_d_pt(nzb) + l_d_cp * ql(nzb,j,i)
    129              blackbody_emission(nzb) = sigma * temperature**4.0
     129             blackbody_emission(nzb) = sigma * temperature**4
    130130
    131131             DO  k = nzb_2d(j,i)+1, nzt
     
    139139
    140140                temperature     = pt(k,j,i) * t_d_pt(k) + l_d_cp * ql(k,j,i)
    141                 blackbody_emission(k) = sigma * temperature**4.0
     141                blackbody_emission(k) = sigma * temperature**4
    142142
    143143             ENDDO
     
    149149             temperature       = pt(nzt+1,j,i) * t_d_pt(nzt+1) + l_d_cp *      &
    150150                                 ql(nzt+1,j,i)
    151              blackbody_emission(nzt+1) = sigma * temperature**4.0
     151             blackbody_emission(nzt+1) = sigma * temperature**4
    152152
    153153!
     
    267267
    268268       temperature     = pt(nzb,j,i) * t_d_pt(nzb) + l_d_cp * ql(nzb,j,i)
    269        blackbody_emission(nzb) = sigma * temperature**4.0
     269       blackbody_emission(nzb) = sigma * temperature**4
    270270
    271271       DO  k = nzb_2d(j,i)+1, nzt
     
    277277
    278278          temperature     = pt(k,j,i) * t_d_pt(k) + l_d_cp * ql(k,j,i)
    279           blackbody_emission(k) = sigma * temperature**4.0
     279          blackbody_emission(k) = sigma * temperature**4
    280280
    281281       ENDDO
     
    286286       temperature       = pt(nzt+1,j,i) * t_d_pt(nzt+1) + l_d_cp *            &
    287287                           ql(nzt+1,j,i)
    288        blackbody_emission(nzt+1) = sigma * temperature**4.0
     288       blackbody_emission(nzt+1) = sigma * temperature**4
    289289
    290290!
Note: See TracChangeset for help on using the changeset viewer.