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

Annotation of /MITgcm/pkg/autodiff/zero_adj.F

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


Revision 1.7 - (hide annotations) (download)
Sun Aug 12 18:46:20 2012 UTC (11 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63r, checkpoint63s, checkpoint64, checkpoint65, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, HEAD
Changes since 1.6: +32 -19 lines
- remove PARAMS.h (not needed)
- just includes CPP_EEOPTIONS.h (previously CPP_OPTIONS.h);

1 jmc 1.7 C $Header: /u/gcmpack/MITgcm/pkg/autodiff/zero_adj.F,v 1.6 2010/08/06 18:41:03 gforget Exp $
2 jmc 1.2 C $Name: $
3 gforget 1.1
4 jmc 1.7 #include "CPP_EEOPTIONS.h"
5 gforget 1.1
6 jmc 1.7 C-- File zero_adj.F:
7     C-- Contents
8     C-- o ZERO_ADJ_1D
9     C-- o ZERO_ADJ_LOC
10     C-- o ZERO_ADJ
11    
12     C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|
13     CBOP
14 gforget 1.6 C !ROUTINE: ZERO_ADJ_1D
15     C !INTERFACE:
16     SUBROUTINE ZERO_ADJ_1D(
17 jmc 1.7 I NrIn, fieldFwd, myThid )
18 gforget 1.6 C !DESCRIPTION: \bv
19     C *==========================================================*
20     C | o zero out a one dimensional adjoint field
21     C | ... nothing happens in forward mode
22     C | author: Gael Forget
23     C *==========================================================*
24 jmc 1.7 C \ev
25 gforget 1.6
26     C !USES:
27     IMPLICIT NONE
28     C === Global variables ===
29     #include "SIZE.h"
30     #include "EEPARAMS.h"
31    
32 jmc 1.7 C !INPUT/OUTPUT PARAMETERS:
33     C myThid :: my Thread Id number
34 gforget 1.6 INTEGER NrIn, myThid
35 jmc 1.7 _RL fieldFwd(NrIn)
36     CEOP
37 gforget 1.6
38     RETURN
39     END
40    
41 jmc 1.7 C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|
42     CBOP
43 gforget 1.3 C !ROUTINE: ZERO_ADJ_LOC
44 gforget 1.1 C !INTERFACE:
45 gforget 1.3 SUBROUTINE ZERO_ADJ_LOC(
46 jmc 1.7 I NrIn, fieldFwd, myThid )
47 gforget 1.1 C !DESCRIPTION: \bv
48     C *==========================================================*
49 gforget 1.3 C | o zero out a local (no nsx,nsy dims.) adjoint field
50 gforget 1.1 C | ... nothing happens in forward mode
51     C | author: Gael Forget
52     C *==========================================================*
53 jmc 1.7 C \ev
54 gforget 1.1
55 jmc 1.4 C !USES:
56     IMPLICIT NONE
57     C === Global variables ===
58 gforget 1.1 #include "SIZE.h"
59     #include "EEPARAMS.h"
60    
61 jmc 1.7 C !INPUT/OUTPUT PARAMETERS:
62     C myThid :: my Thread Id number
63 jmc 1.4 INTEGER NrIn, myThid
64 jmc 1.7 _RL fieldFwd(1-OLx:sNx+OLx,1-OLy:sNy+OLy,NrIn)
65     CEOP
66 gforget 1.1
67 jmc 1.4 RETURN
68     END
69 gforget 1.1
70 jmc 1.7 C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|
71     CBOP
72 gforget 1.3 C !ROUTINE: ZERO_ADJ
73 gforget 1.1 C !INTERFACE:
74 gforget 1.3 SUBROUTINE ZERO_ADJ(
75 jmc 1.7 I NrIn, fieldFwd, myThid )
76 gforget 1.1 C !DESCRIPTION: \bv
77     C *==========================================================*
78 gforget 1.3 C | o zero out a full (incl. nsx,nsy dims.) adjoint field
79 gforget 1.1 C | ... nothing happens in forward mode
80     C | author: Gael Forget
81     C *==========================================================*
82 jmc 1.7 C \ev
83 gforget 1.1
84 jmc 1.4 C !USES:
85     IMPLICIT NONE
86     C === Global variables ===
87 gforget 1.1 #include "SIZE.h"
88     #include "EEPARAMS.h"
89    
90 jmc 1.7 C !INPUT/OUTPUT PARAMETERS:
91     C myThid :: my Thread Id number
92 jmc 1.4 INTEGER NrIn, myThid
93 jmc 1.7 _RL fieldFwd(1-OLx:sNx+OLx,1-OLy:sNy+OLy,NrIn,nSx,nSy)
94     CEOP
95 gforget 1.1
96 jmc 1.4 RETURN
97     END

  ViewVC Help
Powered by ViewVC 1.1.22