/[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.3 - (show annotations) (download)
Fri Mar 7 23:49:55 2003 UTC (21 years, 2 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint50c_post, checkpoint50g_post, checkpoint50d_pre, checkpoint51, checkpoint50, checkpoint50d_post, checkpoint50b_pre, checkpoint51f_post, checkpoint51d_post, checkpoint51j_post, checkpoint51b_pre, checkpoint51h_pre, checkpoint50f_post, checkpoint50a_post, checkpoint50f_pre, branchpoint-genmake2, checkpoint51b_post, checkpoint50c_pre, checkpoint51c_post, checkpoint50h_post, checkpoint50e_pre, checkpoint50i_post, checkpoint51i_pre, checkpoint50e_post, checkpoint51e_post, checkpoint51f_pre, checkpoint51g_post, checkpoint50b_post, checkpoint51a_post
Branch point for: branch-genmake2
Changes since 1.2: +11 -2 lines
added empmr to ini_autodiff

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

  ViewVC Help
Powered by ViewVC 1.1.22