/[MITgcm]/MITgcm_contrib/nesting_sannino/nest_child/nest_child_check.F
ViewVC logotype

Annotation of /MITgcm_contrib/nesting_sannino/nest_child/nest_child_check.F

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


Revision 1.1 - (hide annotations) (download)
Wed Oct 21 00:00:28 2009 UTC (15 years, 9 months ago) by heimbach
Branch: MAIN
Initial checkin of two-way nesting code by
Sannino et al., Ocean Modeling, 2009

1 heimbach 1.1 C $Header: /u/gcmpack/MITgcm/pkg/nest_child/nest_child_check.F,v 1.0 2005/07/18 01:19:36 gianmaria sannino Exp $
2     C $Name: $
3     #include "NEST_CHILD_OPTIONS.h"
4    
5     SUBROUTINE NEST_CHILD_CHECK( myThid )
6     C /==========================================================\
7     C | SUBROUTINE NEST_CHILD_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 NEST_CHILD_INIT
20     INTEGER myThid
21    
22     #ifdef ALLOW_NEST_CHILD
23    
24     C === Local variables ===
25     C msgBuf - Informational/error meesage buffer
26     CHARACTER*(MAX_LEN_MBUF) msgBuf
27    
28     WRITE(msgBuf,'(A)') 'NEST_CHILD_CHECK: #define ALLOW_NEST_CHILD'
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_NEST_CHILD */
41    
42     return
43     end

  ViewVC Help
Powered by ViewVC 1.1.22