Changeset 623 for trunk/NEMO/OPA_SRC/FLO/flodom.F90
- Timestamp:
- 2007-02-26T18:26:08+01:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OPA_SRC/FLO/flodom.F90
r283 r623 50 50 INTEGER :: ji, jj, jk ! DO loop index on 3 directions 51 51 INTEGER :: jfl, jfl1 ! number of floats 52 INTEGER :: inum = 11! logical unit for file read52 INTEGER :: inum ! logical unit for file read 53 53 INTEGER, DIMENSION ( jpnfl ) :: & 54 54 iimfl, ijmfl, ikmfl, & ! index mesh of floats … … 69 69 ! open the restart file 70 70 clname='restart_float' 71 OPEN (inum,FILE=clname,FORM='UNFORMATTED') 71 CALL ctlopn( inum, clname, 'OLD', 'FORMATTED', 'SEQUENTIAL', & 72 & 1, numout, .TRUE., 1 ) 72 73 REWIND inum 73 74 … … 94 95 ! open the init file 95 96 clname='init_float' 96 OPEN(inum,FILE=clname,FORM='FORMATTED') 97 CALL ctlopn( inum, clname, 'OLD', 'FORMATTED', 'SEQUENTIAL', & 98 & 1, numout, .TRUE., 1 ) 97 99 DO jfl = jpnrstflo+1, jpnfl 98 100 READ(inum,*) flxx(jfl),flyy(jfl),flzz(jfl), nisobfl(jfl),ngrpfl(jfl),jfl1 … … 225 227 ! open the init file 226 228 clname='init_float' 227 OPEN(inum,FILE=clname,FORM='FORMATTED') 229 CALL ctlopn( inum, clname, 'OLD', 'FORMATTED', 'SEQUENTIAL', & 230 & 1, numout, .TRUE., 1 ) 228 231 READ(inum) (flxx(jfl) , jfl=1, jpnfl), & 229 232 (flyy(jfl) , jfl=1, jpnfl), &
Note: See TracChangeset
for help on using the changeset viewer.