/[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.7 - (hide annotations) (download)
Sun Feb 26 19:51:54 2006 UTC (18 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint58l_post, checkpoint58e_post, checkpoint58n_post, checkpoint58h_post, checkpoint58q_post, checkpoint58j_post, checkpoint58f_post, checkpoint58d_post, checkpoint58c_post, checkpoint58i_post, checkpoint58g_post, checkpoint58o_post, checkpoint58k_post, checkpoint58p_post, checkpoint58b_post, checkpoint58m_post
Changes since 1.6: +1 -4 lines
remove unused variables (reduces number of warnings)

1 jmc 1.7 C $Header: /u/gcmpack/MITgcm/pkg/cd_code/cd_code_ini_vars.F,v 1.6 2004/10/13 18:37:26 heimbach 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     C myThid - Number of this instance of INI_UVEL
17     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     INTEGER I, J, K
25     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     CALL CD_CODE_READ_CHECKPOINT( nIter0, myThid )
57     ENDIF
58 edhill 1.1
59     #endif /* ALLOW_CD_CODE */
60    
61     RETURN
62     END

  ViewVC Help
Powered by ViewVC 1.1.22