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

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

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


Revision 1.4 - (show annotations) (download)
Thu Aug 30 23:08:02 2012 UTC (11 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63s, checkpoint64, checkpoint65, checkpoint65h, checkpoint65i, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e
Changes since 1.3: +5 -4 lines
fix bug (in FILL_CS_CORNER_TR_RL call) that Gael found

1 C $Header: /u/gcmpack/MITgcm/pkg/ggl90/ggl90_init_fixed.F,v 1.3 2010/01/03 18:48:53 jmc Exp $
2 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 #ifdef ALLOW_GGL90_SMOOTH
31 INTEGER i, j, bi, bj
32 #endif
33
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 #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 U mskCor(1-OLx,1-OLy,bi,bj),
57 I bi,bj, myThid )
58 ENDIF
59 ENDDO
60 ENDDO
61 #endif
62
63 RETURN
64 END

  ViewVC Help
Powered by ViewVC 1.1.22