Ignore:
Timestamp:
Sep 21, 2012 7:03:55 AM (12 years ago)
Author:
raasch
Message:

FLOAT type conversion replaced by REAL

File:
1 edited

Legend:

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

    r810 r1013  
    22
    33!------------------------------------------------------------------------------
    4 !
    54! Current revisions:
    65! -----------------
    7 !
     6! FLOAT type conversion replaced by REAL
    87!
    98! Former revisions:
     
    914913             IF ( i >= 0 .AND. i < nnxh ) THEN
    915914                l(i) = 2.0 * ( 1.0 - COS( ( 2.0 * pi * i ) / &
    916                                         FLOAT( nx+1 ) ) ) / ( dx * dx ) + &
     915                                        REAL( nx+1 ) ) ) / ( dx * dx ) + &
    917916                       2.0 * ( 1.0 - COS( ( 2.0 * pi * j ) / &
    918                                         FLOAT( ny+1 ) ) ) / ( dy * dy )
     917                                        REAL( ny+1 ) ) ) / ( dy * dy )
    919918             ELSEIF ( i == nnxh ) THEN
    920919                l(i) = 2.0 * ( 1.0 - COS( ( 2.0 * pi * ( nx+1-i ) ) / &
    921                                          FLOAT( nx+1 ) ) ) / ( dx * dx ) + &
     920                                         REAL( nx+1 ) ) ) / ( dx * dx ) + &
    922921                       2.0 * ( 1.0 - COS( ( 2.0 * pi * j ) / &
    923                                          FLOAT(ny+1) ) ) / ( dy * dy )
     922                                         REAL(ny+1) ) ) / ( dy * dy )
    924923             ELSE
    925924                l(i) = 2.0 * ( 1.0 - COS( ( 2.0 * pi * ( nx+1-i ) ) / &
    926                                          FLOAT( nx+1 ) ) ) / ( dx * dx ) + &
     925                                         REAL( nx+1 ) ) ) / ( dx * dx ) + &
    927926                       2.0 * ( 1.0 - COS( ( 2.0 * pi * j ) / &
    928                                          FLOAT( ny+1 ) ) ) / ( dy * dy )
     927                                         REAL( ny+1 ) ) ) / ( dy * dy )
    929928             ENDIF
    930929          ENDDO
Note: See TracChangeset for help on using the changeset viewer.