1 |
C $Header: $ |
2 |
C $Name: $ |
3 |
|
4 |
#include "THSICE_OPTIONS.h" |
5 |
|
6 |
SUBROUTINE THSICE_CHECK( myThid ) |
7 |
|
8 |
c ================================================================== |
9 |
c SUBROUTINE THSICE_CHECK |
10 |
c ================================================================== |
11 |
c |
12 |
IMPLICIT NONE |
13 |
|
14 |
c == global variables == |
15 |
|
16 |
#include "EEPARAMS.h" |
17 |
#include "SIZE.h" |
18 |
#include "THSICE_SIZE.h" |
19 |
#include "THSICE_PARAMS.h" |
20 |
|
21 |
c == routine arguments == |
22 |
|
23 |
c myThid :: thread number for this instance of the routine. |
24 |
|
25 |
INTEGER myThid |
26 |
|
27 |
c == local variables == |
28 |
CHARACTER*(MAX_LEN_MBUF) msgBuf |
29 |
|
30 |
c == end of interface == |
31 |
|
32 |
_BEGIN_MASTER(myThid) |
33 |
|
34 |
WRITE(msgBuf,'(A)') 'THSICE_CHECK: #define THSICE' |
35 |
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
36 |
& SQUEEZE_RIGHT , myThid ) |
37 |
|
38 |
#ifdef ALLOW_AUTODIFF_TAMC |
39 |
IF ( nitMaxTsf .GT. MaxTsf ) THEN |
40 |
WRITE(msgBuf,'(A)') 'Need to set MaxTsf >= nitMaxTsf for TAF' |
41 |
CALL PRINT_ERROR( msgBuf , myThid ) |
42 |
STOP 'ABNORMAL END: S/R THSICE_CHECK' |
43 |
ENDIF |
44 |
#endif |
45 |
|
46 |
_END_MASTER(myThid) |
47 |
|
48 |
RETURN |
49 |
END |