/[MITgcm]/MITgcm/pkg/cd_code/cd_code_ini_vars.F
ViewVC logotype

Annotation of /MITgcm/pkg/cd_code/cd_code_ini_vars.F

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


Revision 1.9 - (hide annotations) (download)
Tue Aug 25 21:33:27 2009 UTC (14 years, 9 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, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint64, checkpoint65, checkpoint62, checkpoint63, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, 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, checkpoint61v, checkpoint61w, checkpoint61z, checkpoint61x, checkpoint61y, HEAD
Changes since 1.8: +2 -2 lines
when pickupSuff is set, read pickup-file even if nIter0=0

1 jmc 1.9 C $Header: /u/gcmpack/MITgcm/pkg/cd_code/cd_code_ini_vars.F,v 1.8 2006/10/25 20:40:31 jmc Exp $
2 edhill 1.1 C $Name: $
3    
4     #include "CD_CODE_OPTIONS.h"
5    
6 heimbach 1.2 SUBROUTINE CD_CODE_INI_VARS( myThid )
7 edhill 1.1
8     IMPLICIT NONE
9     C === Global variables ===
10     #include "SIZE.h"
11     #include "EEPARAMS.h"
12     #include "PARAMS.h"
13     #include "CD_CODE_VARS.h"
14    
15     C == Routine arguments ==
16 jmc 1.8 C myThid :: my Thread Id number
17 edhill 1.1 INTEGER myThid
18    
19     C !LOCAL VARIABLES:
20     C == Local variables ==
21     C bi,bj - Loop counters
22     C I,J,K
23     INTEGER bi, bj
24 jmc 1.8 INTEGER I, J, K
25 edhill 1.1 CEOP
26    
27     #ifdef ALLOW_CD_CODE
28    
29     C-- Over all tiles
30     DO bj = myByLo(myThid), myByHi(myThid)
31     DO bi = myBxLo(myThid), myBxHi(myThid)
32    
33     C- 3D arrays
34     DO K=1,Nr
35     DO J=1-Oly,sNy+Oly
36     DO I=1-Olx,sNx+Olx
37     uNM1(I,J,K,bi,bj)=0. _d 0
38     vNM1(I,J,K,bi,bj)=0. _d 0
39     uVeld(I,J,K,bi,bj)=0. _d 0
40     vVeld(I,J,K,bi,bj)=0. _d 0
41     ENDDO
42     ENDDO
43     ENDDO
44    
45     C- 2D arrays
46     DO J=1-Oly,sNy+Oly
47     DO I=1-Olx,sNx+Olx
48     etaNm1(I,J,bi,bj)=0. _d 0
49     ENDDO
50     ENDDO
51    
52     ENDDO
53     ENDDO
54 jmc 1.3
55 jmc 1.9 IF ( nIter0.NE.0 .OR. pickupSuff.NE.' ' ) THEN
56 jmc 1.8 CALL CD_CODE_READ_PICKUP( nIter0, myThid )
57 jmc 1.3 ENDIF
58 edhill 1.1
59     #endif /* ALLOW_CD_CODE */
60    
61     RETURN
62     END

  ViewVC Help
Powered by ViewVC 1.1.22