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 2844 for branches/2011/dev_r2802_MERCATOR9_floats/NEMOGCM/NEMO/OPA_SRC/FLO/flodom.F90 – NEMO

Ignore:
Timestamp:
2011-09-20T15:40:17+02:00 (13 years ago)
Author:
cbricaud
Message:

minor corrections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2011/dev_r2802_MERCATOR9_floats/NEMOGCM/NEMO/OPA_SRC/FLO/flodom.F90

    r2843 r2844  
    319319 
    320320         jfl1=0 
     321         ierr=0 
    321322         CALL ctl_opn( inum, clname2, 'OLD', 'FORMATTED', 'SEQUENTIAL',  1, numout, .TRUE., 1 ) 
    322          DO WHILE (ierr .GE. 0) 
     323         DO WHILE (ierr .EQ. 0) 
    323324            jfl1=jfl1+1 
    324             READ (inum,*, iostat=ierr) 
     325            READ(inum,*, iostat=ierr) 
    325326         END DO 
    326327         CLOSE(inum) 
    327328         IF( (jfl1-1) .NE. ifl )THEN  
    328             WRITE(cltmp,'(A20,A20,A3,i4.4,A10,i4.4)')"the number of floats in",TRIM(clname2), & 
     329            WRITE(cltmp,'(A25,A20,A3,i4.4,A10,i4.4)')"the number of floats in ",TRIM(clname2), & 
    329330                                                     " = ",jfl1," is not equal to jfl= ",ifl 
    330331            CALL ctl_stop('STOP',TRIM(cltmp) ) 
     
    437438      IF( ABS(dlx) > 1.0 ) dlx = 1.0 
    438439      ! 
    439       dld = ATAN(DSQRT( ( 1-dlx )/( 1+dlx ) )) * 222.24 / dls 
     440      dld = ATAN(DSQRT( 1.d0 * ( 1.-dlx )/( 1.+dlx ) )) * 222.24 / dls 
    440441      dstnce = dld * 1000. 
    441442      ! 
Note: See TracChangeset for help on using the changeset viewer.