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

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

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


Revision 1.1 - (hide annotations) (download)
Mon Nov 13 16:35:28 2000 UTC (23 years, 7 months ago) by heimbach
Branch: MAIN
CVS Tags: branch-atmos-merge-start, branch-atmos-merge-shapiro, checkpoint33, checkpoint32, branch-atmos-merge-zonalfilt, branch-atmos-merge-phase5, branch-atmos-merge-phase4, branch-atmos-merge-phase7, branch-atmos-merge-phase6, branch-atmos-merge-phase1, branch-atmos-merge-phase3, branch-atmos-merge-phase2
Branch point for: branch-atmos-merge
Changes to comply with packaging structure.

1 heimbach 1.1 C $Header: /u/gcmpack/development/adcroft/ocean/gmredi/pkg/gmredi/gmredi_check.F,v 1.1.1.1 2000/08/28 21:49:09 adcroft 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