/[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.2 - (show annotations) (download)
Fri Nov 9 19:59:30 2001 UTC (22 years, 6 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint46n_post, checkpoint47e_post, checkpoint44e_post, checkpoint46l_post, checkpoint46g_pre, checkpoint47c_post, checkpoint46f_post, checkpoint48e_post, checkpoint46b_post, checkpoint43a-release1mods, checkpoint44g_post, checkpoint48c_post, checkpoint48i_post, checkpoint46l_pre, chkpt44d_post, checkpoint44e_pre, checkpoint48b_post, checkpoint48c_pre, c49_autodiff, checkpoint48d_pre, checkpoint47i_post, checkpoint47d_post, checkpoint46d_pre, checkpoint48d_post, release1-branch_tutorials, checkpoint48f_post, checkpoint45d_post, checkpoint46j_pre, chkpt44a_post, checkpoint44h_pre, checkpoint48h_post, checkpoint46a_post, checkpoint47g_post, checkpoint46j_post, checkpoint46k_post, checkpoint46b_pre, chkpt44c_pre, checkpoint45a_post, checkpoint47a_post, checkpoint46e_pre, checkpoint45b_post, release1-branch-end, release1_final_v1, checkpoint46c_pre, checkpoint46, checkpoint44f_post, checkpoint47b_post, checkpoint44b_post, checkpoint46h_pre, checkpoint46m_post, checkpoint46a_pre, checkpoint45c_post, checkpoint44h_post, checkpoint46g_post, checkpoint48a_post, checkpoint47j_post, branch-exfmods-tag, checkpoint47f_post, chkpt44a_pre, checkpoint46i_post, checkpoint46c_post, checkpoint46e_post, checkpoint44b_pre, checkpoint47d_pre, checkpoint47, checkpoint44, checkpoint45, checkpoint48, checkpoint49, checkpoint46h_post, chkpt44c_post, checkpoint47h_post, checkpoint44f_pre, checkpoint46d_post, release1-branch_branchpoint, checkpoint48g_post
Branch point for: branch-exfmods-curt, release1_final, release1-branch, release1, ecco-branch
Changes since 1.1: +0 -1 lines
Oups removed.

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 *==========================================================*
13 C \ev
14
15 C !USES:
16 IMPLICIT NONE
17 C === Global variables ===
18 #include "SIZE.h"
19 #include "EEPARAMS.h"
20 #include "PARAMS.h"
21 #include "SURFACE.h"
22
23 C !INPUT/OUTPUT PARAMETERS:
24 C == Routine arguments ==
25 C myThid - Number of this instance of INI_UVEL
26 INTEGER myThid
27
28 #ifdef ALLOW_AUTODIFF_TAMC
29
30 C !LOCAL VARIABLES:
31 C == Local variables ==
32 C bi,bj - Loop counters
33 C I,J,K
34 INTEGER bi, bj
35 INTEGER I, J, K
36 CEOP
37
38 C-- Over all tiles
39 DO bj = myByLo(myThid), myByHi(myThid)
40 DO bi = myBxLo(myThid), myBxHi(myThid)
41
42 C- 3D arrays
43
44 C- 2D arrays
45 DO J=1-Oly,sNy+Oly
46 DO I=1-Olx,sNx+Olx
47 #ifdef EXACT_CONSERV
48 hDivFlow(I,J,bi,bj)=0. _d 0
49 #endif
50 ENDDO
51 ENDDO
52
53 ENDDO
54 ENDDO
55
56 #endif /* ALLOW_AUTODIFF_TAMC */
57
58 END

  ViewVC Help
Powered by ViewVC 1.1.22