/[MITgcm]/MITgcm/pkg/thsice/thsice_check.F
ViewVC logotype

Annotation of /MITgcm/pkg/thsice/thsice_check.F

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


Revision 1.2 - (hide annotations) (download)
Mon Apr 16 22:49:39 2007 UTC (17 years, 1 month ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59
Changes since 1.1: +3 -1 lines
First set of modifs for TAF-ing thsice.

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

  ViewVC Help
Powered by ViewVC 1.1.22