/[MITgcm]/MITgcm_contrib/mlosch/optim_m1qn3/optim_readparms.F
ViewVC logotype

Diff of /MITgcm_contrib/mlosch/optim_m1qn3/optim_readparms.F

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.3 by mlosch, Fri Apr 27 09:09:39 2012 UTC revision 1.5 by mlosch, Fri Apr 27 09:50:46 2012 UTC
# Line 41  c     == local variables == Line 41  c     == local variables ==
41        _RL            ff        _RL            ff
42        _RL            dfminFrac        _RL            dfminFrac
43    
44  #if defined (DYNAMIC)  #ifdef DYNAMIC
45        _RL            vv(nn)        _RL            vv(nn)
 #elif defined (USE_POINTER) || (MAX_INDEPEND == 0)  
       _RL            vv  
       pointer (pvv,vv(1))  
46  #else  #else
47        integer nmax        integer nmax
48        parameter( nmax = MAX_INDEPEND )        parameter( nmax = MAX_INDEPEND )
# Line 159  c     otherwise we (ab-)use the file ctr Line 156  c     otherwise we (ab-)use the file ctr
156         endif         endif
157        endif        endif
158        if ( optimcycle.eq.0 ) then        if ( optimcycle.eq.0 ) then
159        if ( fmin.le.0.0 ) then         if ( fmin.le.0.0 ) then
160         print*, ' OPTIM_READPARMS: fmin = ', fmin, ' should be > 0'          print*, ' OPTIM_READPARMS: fmin = ', fmin, ' should be > 0'
161         stop 'S/R OPTIM_READPARMS: ABNORMAL END'          stop 'S/R OPTIM_READPARMS: ABNORMAL END'
162        endif         endif
163        if ( fmin.lt.ff ) then         if ( fmin.lt.ff ) then
164         print*, ' OPTIM_READPARMS: fmin = ', fmin,          print*, ' OPTIM_READPARMS: fmin = ', fmin,
165       &      ' should be < ff = ', ff       &       ' should be < ff = ', ff
166         stop 'S/R OPTIM_READPARMS: ABNORMAL END'          stop 'S/R OPTIM_READPARMS: ABNORMAL END'
167           endif
168        endif        endif
169    
170  c--   Do some final printout.  c--   Do some final printout.

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.22