/[MITgcm]/MITgcm/pkg/ggl90/ggl90_init_fixed.F
ViewVC logotype

Annotation of /MITgcm/pkg/ggl90/ggl90_init_fixed.F

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


Revision 1.3 - (hide annotations) (download)
Sun Jan 3 18:48:53 2010 UTC (14 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint63, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x
Changes since 1.2: +4 -3 lines
avoid unused variables

1 jmc 1.3 C $Header: /u/gcmpack/MITgcm/pkg/ggl90/ggl90_init_fixed.F,v 1.2 2009/01/30 02:23:56 dfer Exp $
2 dfer 1.1 C $Name: $
3    
4     #include "GGL90_OPTIONS.h"
5    
6     C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|
7     CBOP 0
8     C !ROUTINE: GGL90_INIT_FIXED
9    
10     C !INTERFACE:
11     SUBROUTINE GGL90_INIT_FIXED( myThid )
12    
13     C !DESCRIPTION:
14     C Initialize GGL90 variables that are kept fixed during the run.
15    
16     C !USES:
17     IMPLICIT NONE
18     #include "EEPARAMS.h"
19     #include "SIZE.h"
20     #include "PARAMS.h"
21     #include "GGL90.h"
22    
23     C !INPUT/OUTPUT PARAMETERS:
24     C myThid :: my Thread Id number
25     INTEGER myThid
26     CEOP
27    
28     C !LOCAL VARIABLES:
29     C === Local variables ===
30 jmc 1.3 #ifdef ALLOW_GGL90_SMOOTH
31     INTEGER i, j, bi, bj
32     #endif
33 dfer 1.1
34     C#ifdef ALLOW_MNC
35     C IF (useMNC) THEN
36     C CALL GGL90_MNC_INIT( myThid )
37     C ENDIF
38     C#endif /* ALLOW_MNC */
39    
40     #ifdef ALLOW_DIAGNOSTICS
41     IF ( useDiagnostics ) THEN
42     CALL GGL90_DIAGNOSTICS_INIT( myThid )
43     ENDIF
44     #endif
45    
46 dfer 1.2 #ifdef ALLOW_GGL90_SMOOTH
47     DO bj=myByLo(myThid),myByHi(myThid)
48     DO bi=myBxLo(myThid),myBxHi(myThid)
49     DO j=1-Oly,sNy+Oly
50     DO i=1-Olx,sNx+Olx
51     mskCor(i,j,bi,bj) = 1. _d 0
52     ENDDO
53     ENDDO
54     IF ( useCubedSphereExchange ) THEN
55     CALL FILL_CS_CORNER_TR_RL( 0, .FALSE.,
56     & mskCor, bi,bj, myThid )
57     ENDIF
58     ENDDO
59     ENDDO
60     #endif
61    
62 dfer 1.1 RETURN
63     END

  ViewVC Help
Powered by ViewVC 1.1.22