/[MITgcm]/MITgcm/pkg/obcs/obcs_check.F
ViewVC logotype

Annotation of /MITgcm/pkg/obcs/obcs_check.F

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


Revision 1.2 - (hide annotations) (download)
Fri Feb 2 21:36:30 2001 UTC (23 years, 4 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint43a-release1mods, checkpoint40pre3, checkpoint40pre1, checkpoint40pre7, checkpoint40pre6, checkpoint40pre9, checkpoint40pre8, release1_b1, checkpoint43, checkpoint38, checkpoint40pre2, release1-branch_tutorials, checkpoint40pre4, pre38tag1, release1-branch-end, c37_adj, pre38-close, checkpoint39, checkpoint37, checkpoint36, checkpoint35, checkpoint40pre5, release1_beta1, checkpoint42, checkpoint40, checkpoint41, checkpoint44, release1-branch_branchpoint
Branch point for: release1-branch, release1, ecco-branch, pre38, release1_coupled
Changes since 1.1: +56 -0 lines
Merged changes from branch "branch-atmos-merge" into MAIN (checkpoint34)
 - substantial modifications to algorithm sequence (dynamics.F)
 - packaged OBCS, Shapiro filter, Zonal filter, Atmospheric Physics

1 adcroft 1.2 C $Header: /u/gcmpack/models/MITgcmUV/pkg/obcs/Attic/obcs_check.F,v 1.1.2.1 2001/01/30 21:03:00 adcroft Exp $
2     C $Name: branch-atmos-merge-freeze $
3    
4     #include "OBCS_OPTIONS.h"
5    
6     SUBROUTINE OBCS_CHECK( myThid )
7     C /==========================================================\
8     C | SUBROUTINE OBCS_CHECK |
9     C | o Check dependances with other packages |
10     C |==========================================================|
11     C \==========================================================/
12     IMPLICIT NONE
13    
14     C === Global variables ===
15     #include "SIZE.h"
16     #include "EEPARAMS.h"
17     #include "OBCS.h"
18    
19     C === Routine arguments ===
20     C myThid - Number of this instances
21     INTEGER myThid
22    
23     #ifdef ALLOW_OBCS
24    
25     C === Local variables ===
26     C msgBuf - Informational/error meesage buffer
27     CHARACTER*(MAX_LEN_MBUF) msgBuf
28    
29     WRITE(msgBuf,'(A)') 'OBCS_CHECK: #define ALLOW_OBCS'
30     CALL PRINT_MESSAGE(msgBuf,standardMessageUnit,
31     & SQUEEZE_RIGHT,myThid)
32    
33     #ifdef ALLOW_ORLANSKI
34     WRITE(msgBuf,'(A)') 'OBCS_CHECK: #define ALLOW_ORLANSKI'
35     CALL PRINT_MESSAGE(msgBuf,standardMessageUnit,
36     & SQUEEZE_RIGHT,myThid)
37     #else
38     IF (useOrlanskiNorth.OR.useOrlanskiSouth.OR.
39     & useOrlanskiEast.OR.useOrlanskiWest) THEN
40     WRITE(msgBuf,'(A)')
41     & 'OBCS_CHECK: ERROR: #undef OBCS_RADIATE_ORLANSKI and'
42     CALL PRINT_ERROR( msgBuf , 1)
43     WRITE(msgBuf,'(A)')
44     & 'OBCS_CHECK: ERROR: one of useOrlanski* logicals is true'
45     CALL PRINT_ERROR( msgBuf , 1)
46     STOP 'ABNORMAL END: S/R OBCS_CHECK'
47     ENDIF
48     #endif /* ALLOW_ORLANSKI */
49    
50     WRITE(msgBuf,'(A)') 'OBCS_CHECK: OK'
51     CALL PRINT_MESSAGE(msgBuf,standardMessageUnit,
52     & SQUEEZE_RIGHT,myThid)
53    
54     #endif /* ALLOW_OBCS */
55     return
56     end

  ViewVC Help
Powered by ViewVC 1.1.22