1 |
C $Header: /u/gcmpack/MITgcm/pkg/autodiff/adzero_adj.F,v 1.2 2007/10/08 23:50:53 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,myThid,FieldFwd) |
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 |
#include "SIZE.h" |
18 |
#include "EEPARAMS.h" |
19 |
#include "PARAMS.h" |
20 |
|
21 |
C == Routine arguments == |
22 |
C myThid - Thread number for this instance of the routine. |
23 |
integer myThid,bi,bj,i,j,k |
24 |
_RL FieldFwd(1-Olx:sNx+Olx,1-Oly:sNy+Oly,NrIn) |
25 |
|
26 |
end |
27 |
|
28 |
|
29 |
C !ROUTINE: ZERO_ADJ |
30 |
C !INTERFACE: |
31 |
SUBROUTINE ZERO_ADJ( |
32 |
I NrIn,myThid,FieldFwd) |
33 |
C !DESCRIPTION: \bv |
34 |
C *==========================================================* |
35 |
C | o zero out a full (incl. nsx,nsy dims.) adjoint field |
36 |
C | ... nothing happens in forward mode |
37 |
C | author: Gael Forget |
38 |
C *==========================================================* |
39 |
|
40 |
#include "SIZE.h" |
41 |
#include "EEPARAMS.h" |
42 |
#include "PARAMS.h" |
43 |
|
44 |
C == Routine arguments == |
45 |
C myThid - Thread number for this instance of the routine. |
46 |
integer myThid,bi,bj,i,j,k |
47 |
_RL FieldFwd(1-Olx:sNx+Olx,1-Oly:sNy+Oly,NrIn,nSx,nSy) |
48 |
|
49 |
end |
50 |
|