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

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

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


Revision 1.1 - (show annotations) (download)
Mon Mar 12 20:38:36 2001 UTC (23 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint40pre1, c37_adj, checkpoint40pre2, checkpoint40pre5, checkpoint40pre6, checkpoint40pre8, checkpoint40pre4, checkpoint40pre3, checkpoint40pre9, checkpoint37, checkpoint40pre7, checkpoint40, checkpoint39, checkpoint38
Branch point for: pre38
initialize to zero gW and gWnm1

1 C $Header: $
2 C $Name: $
3
4 #include "CPP_OPTIONS.h"
5
6 CStartOfInterface
7 SUBROUTINE INI_GW ( myThid )
8 C /==========================================================\
9 C | SUBROUTINE INI_GW |
10 C | o Set model initial gW tendency terms |
11 C |==========================================================|
12 C \==========================================================/
13 IMPLICIT NONE
14
15 C === Global variables ===
16 #include "SIZE.h"
17 #include "EEPARAMS.h"
18 #include "PARAMS.h"
19 #include "GRID.h"
20 #include "GW.h"
21
22 C == Routine arguments ==
23 C myThid - Number of this instance of INI_GW
24 INTEGER myThid
25 CEndOfInterface
26
27 #ifdef ALLOW_NONHYDROSTATIC
28
29 C == Local variables ==
30 C bi,bj - Loop counters
31 C I,J,K
32 INTEGER bi, bj
33 INTEGER I, J, K
34
35 C Set initial tendency terms
36 DO bj = myByLo(myThid), myByHi(myThid)
37 DO bi = myBxLo(myThid), myBxHi(myThid)
38 DO K=1,Nr
39 DO J=1-Oly,sNy+Oly
40 DO I=1-Olx,sNx+Olx
41 gW (I,J,K,bi,bj) = 0. _d 0
42 gWnm1(I,J,K,bi,bj) = 0. _d 0
43 ENDDO
44 ENDDO
45 ENDDO
46 ENDDO
47 ENDDO
48
49 #endif /* ALLOW_NONHYDROSTATIC */
50
51 RETURN
52 END

  ViewVC Help
Powered by ViewVC 1.1.22