1 |
jmc |
1.3 |
C $Header: $ |
2 |
|
|
C $Name: $ |
3 |
heimbach |
1.1 |
|
4 |
|
|
#include "THSICE_OPTIONS.h" |
5 |
|
|
|
6 |
jmc |
1.3 |
SUBROUTINE THSICE_CHECK( myThid ) |
7 |
heimbach |
1.1 |
|
8 |
|
|
c ================================================================== |
9 |
|
|
c SUBROUTINE THSICE_CHECK |
10 |
|
|
c ================================================================== |
11 |
|
|
c |
12 |
jmc |
1.3 |
IMPLICIT NONE |
13 |
heimbach |
1.1 |
|
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 |
jmc |
1.3 |
c myThid :: thread number for this instance of the routine. |
24 |
heimbach |
1.1 |
|
25 |
jmc |
1.3 |
INTEGER myThid |
26 |
heimbach |
1.1 |
|
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 |
heimbach |
1.2 |
_END_MASTER(myThid) |
47 |
|
|
|
48 |
jmc |
1.3 |
RETURN |
49 |
|
|
END |