/[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.1 - (hide annotations) (download)
Mon Apr 16 22:38:24 2007 UTC (17 years, 5 months ago) by heimbach
Branch: MAIN
First set of modifs for TAF-ing thsice.

1 heimbach 1.1 c $Header: /u/gcmpack/MITgcm/pkg/exf/exf_check.F,v 1.3 2006/11/08 18:08:05 dimitri Exp $
2    
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     end

  ViewVC Help
Powered by ViewVC 1.1.22