/[MITgcm]/MITgcm_contrib/sannino/OASIS_3.0_Coupler/pkg/oasis_check.F
ViewVC logotype

Annotation of /MITgcm_contrib/sannino/OASIS_3.0_Coupler/pkg/oasis_check.F

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


Revision 1.1 - (hide annotations) (download)
Thu Jul 20 21:08:16 2006 UTC (19 years ago) by sannino
Branch: MAIN
CVS Tags: HEAD
o Adding OASIS package
o Adding grid refinement package

1 sannino 1.1 C $Header: /u/gcmpack/MITgcm/pkg/oasis/oasis_check.F,v 1.0 2005/07/18 01:19:36 gianmaria sannino Exp $
2     C $Name: $
3     #include "OASIS_OPTIONS.h"
4    
5     SUBROUTINE OASIS_CHECK( myThid )
6     C /==========================================================\
7     C | SUBROUTINE OASIS_CHECK |
8     C | o Validate basic package setup and inter-package |
9     C | dependencies. |
10     C \==========================================================/
11     IMPLICIT NONE
12    
13     C === Global variables ===
14     #include "SIZE.h"
15     #include "EEPARAMS.h"
16     #include "PARAMS.h"
17    
18     C === Routine arguments ===
19     C myThid - Number of this instance of OASIS_INIT
20     INTEGER myThid
21    
22     #ifdef ALLOW_OASIS
23    
24     C === Local variables ===
25     C msgBuf - Informational/error meesage buffer
26     CHARACTER*(MAX_LEN_MBUF) msgBuf
27    
28     WRITE(msgBuf,'(A)') 'OASIS_CHECK: #define ALLOW_OASIS'
29     CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
30     & SQUEEZE_RIGHT , 1)
31    
32     C OASIS needs convection turned off (will be packaged later)
33     c IF (cAdjFreq.NE.0. .OR.
34     c & ivdc_kappa.NE.0.) THEN
35     c WRITE(msgBuf,'(A)') 'Some form of convection has been enabled'
36     c CALL PRINT_ERROR( msgBuf , 1)
37     c STOP 'ABNORMAL END: S/R OASIS_CHECK'
38     c ENDIF
39    
40     #endif /* ALLOW_OASIS */
41    
42     return
43     end

  ViewVC Help
Powered by ViewVC 1.1.22