/[MITgcm]/MITgcm/pkg/sbo/sbo_check.F
ViewVC logotype

Contents of /MITgcm/pkg/sbo/sbo_check.F

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


Revision 1.2.4.1 - (show annotations) (download)
Thu Oct 2 18:18:33 2003 UTC (20 years, 7 months ago) by adcroft
Branch: branch-genmake2
Changes since 1.2: +2 -1 lines
Converted to new pacakge configuration system.
 o made all packages consistent by referring to CPP_OPTIONS via PKG_OPTIONS.h
 o added CPP barriers (#ifndef PKG_OPTIONS_H) to instigate new policy
 o added plenty of missing or broken CVS $Header stuff

1 C $Header: $
2 C $Name: $
3
4 #include "SBO_OPTIONS.h"
5
6 SUBROUTINE SBO_CHECK( myThid )
7 C /==========================================================\
8 C | SUBROUTINE SBO_CHECK |
9 C | o Validate basic package setup and inter-package |
10 C | dependencies. |
11 C \==========================================================/
12 IMPLICIT NONE
13
14 C === Global variables ===
15 #include "SIZE.h"
16 #include "EEPARAMS.h"
17 #include "PARAMS.h"
18
19 C === Routine arguments ===
20 C myThid - Number of this instance of SBO_CHECK
21 INTEGER myThid
22
23 #ifdef ALLOW_SBO
24
25 C === Local variables ===
26 C msgBuf - Informational/error meesage buffer
27 CHARACTER*(MAX_LEN_MBUF) msgBuf
28
29 WRITE(msgBuf,'(A)') 'SBO_CHECK: #define ALLOW_SBO'
30 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
31 & SQUEEZE_RIGHT , myThid )
32
33 C SBO assumes spherical polar coordinates
34 IF ( .NOT. usingSphericalPolarGrid ) THEN
35 WRITE(msgBuf,'(A)') 'SBO requires usingSphericalPolarGrid'
36 CALL PRINT_ERROR( msgBuf , 1)
37 STOP 'ABNORMAL END: S/R SBO_CHECK'
38 ENDIF
39
40 #endif ALLOW_SBO
41
42 return
43 end

  ViewVC Help
Powered by ViewVC 1.1.22