/[MITgcm]/MITgcm/model/src/ini_dynvars.F
ViewVC logotype

Contents of /MITgcm/model/src/ini_dynvars.F

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


Revision 1.5.2.1 - (show annotations) (download)
Tue Feb 26 16:04:47 2002 UTC (22 years, 3 months ago) by adcroft
Branch: release1
CVS Tags: release1_p13_pre, release1_p13, release1_p8, release1_p9, release1_p1, release1_p2, release1_p3, release1_p4, release1_p5, release1_p6, release1_p7, release1_chkpt44d_post, release1_p11, release1_p12, release1_p10, release1_p16, release1_p17, release1_p14, release1_p15, release1_p12_pre
Branch point for: release1_50yr
Changes since 1.5: +1 -1 lines
Merging changes on MAIN between checkpoint43 and checkpoint43a-release1mods
Command: cvs -q update -jcheckpoint43 -jcheckpoint43a-release1mods -d -P

These changes are most of the changes between c43 and c44 except those
that occured after "12:45 11 Jan 2002". As far as I can tell it is
checkpoint43 with the following mods:

  o fix bug in mom_vi_del2uv
  o select when filters are applied ; add options to zonal_filter (data.zonfilt)  o gmredi: fix Pb in the adiabatic form ; add options (.e.g. Bolus advection)
  o update AIM experiments (NCEP input files)
  o improve and extend diagnostics (Monitor, TimeAve with NonLin-FrSurf)
  o added some stuff for AD
  o Jamar wet-points

This update does not contain the following mods that are in checkpoint44

  o bug fix in pkg/generic_advdiff/
    - thread related bug, bi,bj arguments in vertical advection routines
  o some changes to pkg/autodiff, pkg/cost, pkg/exf, pkg/ecco,
    verification/carbon and model/src/ related to adjoint
  o some new Matlab scripts for diagnosing model density
    - utils/matlab/dens_poly3.m and ini_poly3.m

The list of exclusions is accurate based on a "cvs diff". The list of
inclusions is based on the record in doc/tag-index which may not be complete.

1 C $Header: /u/gcmpack/MITgcm/model/src/ini_dynvars.F,v 1.6 2001/11/08 20:57:51 heimbach Exp $
2 C $Name: $
3
4 #include "CPP_OPTIONS.h"
5
6 CBOP
7 C !ROUTINE: INI_DYNVARS
8 C !INTERFACE:
9 SUBROUTINE INI_DYNVARS( myThid )
10 C !DESCRIPTION: \bv
11 C *==========================================================*
12 C | SUBROUTINE INI_DYNVARS
13 C | o Initialise to zero all DYNVARS.h arrays
14 C *==========================================================*
15 C | Sets all the State variables to zero.
16 C | Sets all the Gs (arrays used for multi-level time-stepping)
17 C | to zero.
18 C *==========================================================*
19 C \ev
20
21 C !USES:
22 IMPLICIT NONE
23 C === Global variables ===
24 #include "SIZE.h"
25 #include "EEPARAMS.h"
26 #include "PARAMS.h"
27 #include "DYNVARS.h"
28 #ifdef ALLOW_NONHYDROSTATIC
29 #include "GW.h"
30 #endif
31
32 C !INPUT/OUTPUT PARAMETERS:
33 C == Routine arguments ==
34 C myThid - Number of this instance of INI_UVEL
35 INTEGER myThid
36
37 C !LOCAL VARIABLES:
38 C == Local variables ==
39 C bi,bj - Loop counters
40 C I,J,K
41 INTEGER bi, bj
42 INTEGER I, J, K
43 CEOP
44
45 C-- Over all tiles
46 DO bj = myByLo(myThid), myByHi(myThid)
47 DO bi = myBxLo(myThid), myBxHi(myThid)
48
49 C- 3D arrays
50 DO K=1,Nr
51 DO J=1-Oly,sNy+Oly
52 DO I=1-Olx,sNx+Olx
53
54 uVel(I,J,K,bi,bj)=0. _d 0
55 vVel(I,J,K,bi,bj)=0. _d 0
56 wVel(I,J,K,bi,bj)=0. _d 0
57 theta(I,J,K,bi,bj)=0. _d 0
58 salt(I,J,K,bi,bj)=0. _d 0
59
60 gU(I,J,K,bi,bj)=0. _d 0
61 gV(I,J,K,bi,bj)=0. _d 0
62 gT(I,J,K,bi,bj)=0. _d 0
63 gS(I,J,K,bi,bj)=0. _d 0
64 gUnm1(I,J,K,bi,bj)=0. _d 0
65 gVnm1(I,J,K,bi,bj)=0. _d 0
66 gTnm1(I,J,K,bi,bj)=0. _d 0
67 gSnm1(I,J,K,bi,bj)=0. _d 0
68
69 #ifdef INCLUDE_CD_CODE
70 guCD(I,J,K,bi,bj)=0. _d 0
71 gvCD(I,J,K,bi,bj)=0. _d 0
72 uNM1(I,J,K,bi,bj)=0. _d 0
73 vNM1(I,J,K,bi,bj)=0. _d 0
74 uVeld(I,J,K,bi,bj)=0. _d 0
75 vVeld(I,J,K,bi,bj)=0. _d 0
76 #endif
77
78 #ifdef ALLOW_NONHYDROSTATIC
79 gW(I,J,K,bi,bj)=0. _d 0
80 gWnm1(I,J,K,bi,bj)=0. _d 0
81 #endif
82
83 ENDDO
84 ENDDO
85 ENDDO
86
87 C- 2D arrays
88 DO J=1-Oly,sNy+Oly
89 DO I=1-Olx,sNx+Olx
90 etaN(I,J,bi,bj)=0. _d 0
91 etaH(I,J,bi,bj)=0. _d 0
92 #ifdef INCLUDE_CD_CODE
93 etaNm1(I,J,bi,bj)=0. _d 0
94 #endif
95 ENDDO
96 ENDDO
97
98 ENDDO
99 ENDDO
100
101 RETURN
102 END

  ViewVC Help
Powered by ViewVC 1.1.22