140 |
#endif |
#endif |
141 |
|
|
142 |
#ifdef ALLOW_DEPTH_CONTROL |
#ifdef ALLOW_DEPTH_CONTROL |
|
cc IF ( implicitDiffusion ) THEN |
|
|
cc WRITE(msgBuf,'(2A)') 'CONFIG_CHECK: ', |
|
|
cc & 'implicitDiffusion not available with DEPTH_CONTROL' |
|
|
cc CALL PRINT_ERROR( msgBuf, myThid ) |
|
|
cc errCount = errCount + 1 |
|
|
cc ENDIF |
|
143 |
IF ( useOBCS ) THEN |
IF ( useOBCS ) THEN |
144 |
WRITE(msgBuf,'(A)') |
WRITE(msgBuf,'(A)') |
145 |
& 'CONFIG_CHECK: DEPTH_CONTROL code not compatible with OBCS' |
& 'CONFIG_CHECK: DEPTH_CONTROL code not compatible with OBCS' |
440 |
CALL PRINT_ERROR( msgBuf, myThid ) |
CALL PRINT_ERROR( msgBuf, myThid ) |
441 |
errCount = errCount + 1 |
errCount = errCount + 1 |
442 |
ENDIF |
ENDIF |
443 |
|
|
444 |
|
IF ( select_rStar.GE.1 .AND. nonlinFreeSurf.LE.0 ) THEN |
445 |
|
WRITE(msgBuf,'(2A,I3,A)') 'CONFIG_CHECK: r* Coordinate', |
446 |
|
& ' (select_rStar=', select_rStar, ' ) cannot be used' |
447 |
|
CALL PRINT_ERROR( msgBuf, myThid ) |
448 |
|
WRITE(msgBuf,'(2A,I3,A)') 'CONFIG_CHECK: ', |
449 |
|
& ' with Linear FreeSurf (nonlinFreeSurf=', nonlinFreeSurf,' )' |
450 |
|
CALL PRINT_ERROR( msgBuf, myThid ) |
451 |
|
errCount = errCount + 1 |
452 |
|
ENDIF |
453 |
|
|
454 |
IF ( selectSigmaCoord.NE.0 ) THEN |
IF ( selectSigmaCoord.NE.0 ) THEN |
455 |
IF ( fluidIsWater ) THEN |
IF ( fluidIsWater ) THEN |