/[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.3 - (hide annotations) (download)
Sun Dec 14 23:28:24 2003 UTC (20 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint52l_pre, checkpoint52e_pre, hrcube4, checkpoint52n_post, checkpoint52j_post, checkpoint53d_post, checkpoint54a_pre, checkpoint55c_post, checkpoint54e_post, checkpoint52e_post, checkpoint54a_post, checkpoint53c_post, checkpoint55d_pre, hrcube_1, checkpoint52l_post, checkpoint52k_post, checkpoint54b_post, checkpoint53b_pre, checkpoint55b_post, checkpoint54d_post, checkpoint52m_post, checkpoint55, checkpoint53a_post, checkpoint54, checkpoint54f_post, checkpoint53b_post, checkpoint53, checkpoint52d_post, checkpoint53g_post, checkpoint52f_post, hrcube5, checkpoint55e_post, checkpoint52i_post, checkpoint52j_pre, checkpoint53f_post, checkpoint55a_post, checkpoint53d_pre, checkpoint54c_post, checkpoint52i_pre, checkpoint52h_pre, checkpoint52f_pre, hrcube_2, hrcube_3, checkpoint55d_post
Changes since 1.2: +5 -5 lines
move "call cd_code_read_pickup" from S/R INI_FIELDS to CD_CODE_INI_VARS

1 jmc 1.3 C $Header: /u/gcmpack/MITgcm/pkg/cd_code/cd_code_ini_vars.F,v 1.2 2003/10/30 18:44: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     CHARACTER*(MAX_LEN_FNAM) fn
26     CHARACTER*(10) suff
27     INTEGER prec
28     CEOP
29    
30     #ifdef ALLOW_CD_CODE
31    
32     C-- Over all tiles
33     DO bj = myByLo(myThid), myByHi(myThid)
34     DO bi = myBxLo(myThid), myBxHi(myThid)
35    
36     C- 3D arrays
37     DO K=1,Nr
38     DO J=1-Oly,sNy+Oly
39     DO I=1-Olx,sNx+Olx
40     uNM1(I,J,K,bi,bj)=0. _d 0
41     vNM1(I,J,K,bi,bj)=0. _d 0
42     uVeld(I,J,K,bi,bj)=0. _d 0
43     vVeld(I,J,K,bi,bj)=0. _d 0
44     ENDDO
45     ENDDO
46     ENDDO
47    
48     C- 2D arrays
49     DO J=1-Oly,sNy+Oly
50     DO I=1-Olx,sNx+Olx
51     etaNm1(I,J,bi,bj)=0. _d 0
52     ENDDO
53     ENDDO
54    
55     ENDDO
56     ENDDO
57 jmc 1.3
58     IF ( nIter0.NE.0 ) THEN
59     CALL CD_CODE_READ_CHECKPOINT( nIter0, myThid )
60     ENDIF
61 edhill 1.1
62     #endif /* ALLOW_CD_CODE */
63    
64     RETURN
65     END

  ViewVC Help
Powered by ViewVC 1.1.22