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

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

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


Revision 1.5 - (show annotations) (download)
Tue Apr 13 04:35:53 2010 UTC (14 years, 1 month ago) by gforget
Branch: MAIN
CVS Tags: checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62i, checkpoint62h
Changes since 1.4: +3 -3 lines
bug fix

1 C $Header: /u/gcmpack/MITgcm/pkg/autodiff/zero_adj.F,v 1.4 2008/07/25 16:34:43 jmc Exp $
2 C $Name: $
3
4 #include "CPP_OPTIONS.h"
5
6 C !ROUTINE: ZERO_ADJ_LOC
7 C !INTERFACE:
8 SUBROUTINE ZERO_ADJ_LOC(
9 I NrIn,FieldFwd,myThid)
10 C !DESCRIPTION: \bv
11 C *==========================================================*
12 C | o zero out a local (no nsx,nsy dims.) adjoint field
13 C | ... nothing happens in forward mode
14 C | author: Gael Forget
15 C *==========================================================*
16
17 C !USES:
18 IMPLICIT NONE
19 C === Global variables ===
20 #include "SIZE.h"
21 #include "EEPARAMS.h"
22 #include "PARAMS.h"
23
24 C == Routine arguments ==
25 C myThid - Thread number for this instance of the routine.
26 INTEGER NrIn, myThid
27 _RL FieldFwd(1-Olx:sNx+Olx,1-Oly:sNy+Oly,NrIn)
28
29 RETURN
30 END
31
32
33 C !ROUTINE: ZERO_ADJ
34 C !INTERFACE:
35 SUBROUTINE ZERO_ADJ(
36 I NrIn,FieldFwd,myThid)
37 C !DESCRIPTION: \bv
38 C *==========================================================*
39 C | o zero out a full (incl. nsx,nsy dims.) adjoint field
40 C | ... nothing happens in forward mode
41 C | author: Gael Forget
42 C *==========================================================*
43
44 C !USES:
45 IMPLICIT NONE
46 C === Global variables ===
47 #include "SIZE.h"
48 #include "EEPARAMS.h"
49 #include "PARAMS.h"
50
51 C == Routine arguments ==
52 C myThid - Thread number for this instance of the routine.
53 INTEGER NrIn, myThid
54 _RL FieldFwd(1-Olx:sNx+Olx,1-Oly:sNy+Oly,NrIn,nSx,nSy)
55
56 RETURN
57 END

  ViewVC Help
Powered by ViewVC 1.1.22