/[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.8 - (hide annotations) (download)
Wed Oct 25 20:40:31 2006 UTC (17 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint58u_post, checkpoint58w_post, checkpoint60, checkpoint61, checkpoint58r_post, checkpoint58x_post, checkpoint58t_post, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint59, checkpoint58y_post, checkpoint58v_post, checkpoint58s_post, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q
Changes since 1.7: +4 -4 lines
rename read,write_checkpoint to read,write_pickup and split the .F file.

1 jmc 1.8 C $Header: /u/gcmpack/MITgcm/pkg/cd_code/cd_code_ini_vars.F,v 1.7 2006/02/26 19:51:54 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     IF ( nIter0.NE.0 ) 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