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 |