197 |
ENDIF |
ENDIF |
198 |
#endif |
#endif |
199 |
|
|
200 |
|
C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----| |
201 |
C-- Check parameter consistency: |
C-- Check parameter consistency: |
202 |
|
IF ( thSIceAdvScheme.EQ.0 .AND. thSIce_diffK.NE.0. ) THEN |
203 |
|
WRITE(msgBuf,'(2A)') |
204 |
|
& 'THSICE_READPARMS: to use thSIce_diffK, needs to select', |
205 |
|
& ' one advection scheme (thSIceAdvScheme<>0)' |
206 |
|
CALL PRINT_ERROR( msgBuf , myThid ) |
207 |
|
STOP 'ABNORMAL END: THSICE_READPARMS' |
208 |
|
ENDIF |
209 |
|
#ifndef ALLOW_GENERIC_ADVDIFF |
210 |
|
IF ( thSIceAdvScheme.NE.0 ) THEN |
211 |
|
WRITE(msgBuf,'(2A)') |
212 |
|
& 'THSICE_READPARMS: Need to compile "generic_advdiff" pkg', |
213 |
|
& ' in order to use thSIceAdvScheme' |
214 |
|
CALL PRINT_ERROR( msgBuf , myThid ) |
215 |
|
STOP 'ABNORMAL END: THSICE_READPARMS' |
216 |
|
ENDIF |
217 |
|
#endif /* ndef ALLOW_GENERIC_ADVDIFF */ |
218 |
|
|
219 |
IF ( useSEAICE .AND. stressReduction.NE.0. _d 0 ) THEN |
IF ( useSEAICE .AND. stressReduction.NE.0. _d 0 ) THEN |
220 |
C-- If useSEAICE=.true., the stress is computed in seaice_model, |
C-- If useSEAICE=.true., the stress is computed in seaice_model, |
221 |
C-- so that it does not need any further reduction |
C-- so that it does not need any further reduction |