New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 2579 for branches/TAM_V3_2_2/NEMOTAM/OPATAM_SRC/mt19937ar.f90 – NEMO

Ignore:
Timestamp:
2011-02-04T19:44:50+01:00 (13 years ago)
Author:
rblod
Message:

Correct TAM_V3_2_2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/TAM_V3_2_2/NEMOTAM/OPATAM_SRC/mt19937ar.f90

    r2578 r2579  
    9393      INTEGER :: ks 
    9494      ! 
    95       mt(0) = IAND(ks,jpall) 
     95      mt(0) = IAND(INT(ks,kind=8),jpall) 
    9696      DO mti = 1, jpn-1 
    9797         mt(mti) = 1812433253 * IEOR(mt(mti-1),ISHFT(mt(mti-1),-30)) + mti 
     
    150150!----------------------------------------------------------------------- 
    151151      INTEGER :: mtrand_int32 
    152       INTEGER :: iy,jk 
     152      INTEGER :: jk 
     153      INTEGER*8 :: iy 
    153154      INTEGER*8, DIMENSION(0:1) :: mag01 
    154155! 
Note: See TracChangeset for help on using the changeset viewer.