/[MITgcm]/MITgcm/pkg/autodiff/ini_autodiff.F
ViewVC logotype

Contents of /MITgcm/pkg/autodiff/ini_autodiff.F

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


Revision 1.7 - (show annotations) (download)
Fri Sep 17 23:02:01 2004 UTC (19 years, 8 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint57b_post, checkpoint56b_post, checkpoint57d_post, checkpoint55, checkpoint57, checkpoint56, checkpoint55a_post, checkpoint55i_post, checkpoint55c_post, checkpoint57a_post, checkpoint55g_post, checkpoint57c_post, checkpoint55d_post, checkpoint55d_pre, checkpoint57c_pre, checkpoint55j_post, checkpoint55h_post, checkpoint55b_post, checkpoint55f_post, eckpoint57e_pre, checkpoint56a_post, checkpoint56c_post, checkpoint57a_pre, checkpoint55e_post
Changes since 1.6: +2 -1 lines
o bringing adjoint up to date for sheduled c55

1 C $Header: /u/gcmpack/MITgcm/pkg/autodiff/ini_autodiff.F,v 1.6 2004/06/30 23:45:35 heimbach Exp $
2 C $Name: $
3
4 #include "AUTODIFF_OPTIONS.h"
5
6 CBOP
7 C !ROUTINE: INI_AUTODIFF
8 C !INTERFACE:
9 SUBROUTINE INI_AUTODIFF( myThid )
10 C !DESCRIPTION: \bv
11 C *==========================================================*
12 C | SUBROUTINE INI_AUTODIFF
13 C | o Initialise to zero some active arrays
14 C | These ini
15 C *==========================================================*
16 C \ev
17
18 C !USES:
19 IMPLICIT NONE
20 C === Global variables ===
21 #include "SIZE.h"
22 #include "EEPARAMS.h"
23 #include "PARAMS.h"
24 #ifdef EXACT_CONSERV
25 # include "SURFACE.h"
26 #endif
27 #ifdef ALLOW_EXF
28 # include "FFIELDS.h"
29 #endif
30
31 C !INPUT/OUTPUT PARAMETERS:
32 C == Routine arguments ==
33 C myThid - Number of this instance of INI_UVEL
34 INTEGER myThid
35
36 #ifdef ALLOW_AUTODIFF_TAMC
37
38 C !LOCAL VARIABLES:
39 C == Local variables ==
40 C bi,bj - Loop counters
41 C I,J,K
42 INTEGER bi, bj
43 INTEGER I, J, K
44 CEOP
45
46 C-- Over all tiles
47 DO bj = myByLo(myThid), myByHi(myThid)
48 DO bi = myBxLo(myThid), myBxHi(myThid)
49
50 C- 3D arrays
51
52 C- 2D arrays
53 DO J=1-Oly,sNy+Oly
54 DO I=1-Olx,sNx+Olx
55 #ifdef EXACT_CONSERV
56 dEtaHdt(i,j,bi,bj) = 0. _d 0
57 PmEpR(i,j,bi,bj) = 0. _d 0
58 cph hDivFlow(I,J,bi,bj)=0. _d 0
59 #endif
60 #ifdef ALLOW_EXF
61 EmPmR(I,J,bi,bj) = 0. _d 0
62 #endif
63 ENDDO
64 ENDDO
65
66 ENDDO
67 ENDDO
68
69 #endif /* ALLOW_AUTODIFF_TAMC */
70
71 END

  ViewVC Help
Powered by ViewVC 1.1.22