/[MITgcm]/MITgcm/pkg/gmredi/gmredi_check.F
ViewVC logotype

Contents of /MITgcm/pkg/gmredi/gmredi_check.F

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


Revision 1.2 - (show annotations) (download)
Mon Jan 29 20:07:39 2001 UTC (23 years, 5 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint34
Changes since 1.1: +1 -1 lines
Corrected array dimensions.
Temporary scalars introduced to avoid storing by TAMC.

1 C $Header: /u/ralf/cvs/ecco_env/pkg/gmredi/gmredi_check.F,v 1.3 2000/11/14 17:21:41 heimbach Exp $
2
3 #include "CPP_OPTIONS.h"
4
5 SUBROUTINE GMREDI_CHECK( myThid )
6 C /==========================================================\
7 C | SUBROUTINE GMREDI_CHECK |
8 C | o Check dependances with other packages |
9 C |==========================================================|
10 C \==========================================================/
11 IMPLICIT NONE
12
13 C === Global variables ===
14 #include "SIZE.h"
15 #include "EEPARAMS.h"
16 #include "PARAMS.h"
17 #include "GMREDI.h"
18
19 C === Routine arguments ===
20 C myThid - Number of this instances
21 INTEGER myThid
22
23 C === Local variables ===
24 C msgBuf - Informational/error meesage buffer
25 CHARACTER*(MAX_LEN_MBUF) msgBuf
26
27
28 #ifdef ALLOW_GMREDI
29
30 IF (GMRediIsOn) THEN
31
32 WRITE(msgBuf,'(A)') 'GMREDI_PKG_CHECK: #define GMREDI'
33 C GM/Redi needs implicit diffusion (will be packaged later)
34 IF (.NOT.implicitDiffusion) THEN
35 WRITE(msgBuf,'(A)') 'GM/Redi needs implicitDiffusion=.true.'
36 CALL PRINT_ERROR( msgBuf , 1)
37 STOP 'ABNORMAL END: S/R PACKAGE_CHECK'
38 ENDIF
39
40 ENDIF
41
42 #endif
43
44
45 return
46 end

  ViewVC Help
Powered by ViewVC 1.1.22