1 |
heimbach |
1.1 |
|
2 |
|
|
#include "CPP_OPTIONS.h" |
3 |
|
|
|
4 |
|
|
subroutine adjoint_model( |
5 |
|
|
I mythid |
6 |
|
|
& ) |
7 |
|
|
|
8 |
|
|
c ================================================================== |
9 |
|
|
c SUBROUTINE adjoint_model |
10 |
|
|
c ================================================================== |
11 |
|
|
c |
12 |
|
|
c o This is just a place holder for the TAMC generated adjoint code |
13 |
|
|
c of the MITgcmuv and related routines. Below you find a short |
14 |
|
|
c description of some topics pertaining to the adjoint model. |
15 |
|
|
c |
16 |
|
|
c This routine will be overwritten as soon as TAMC will have |
17 |
|
|
c generated the adjoint model. If you want to keep it copy it |
18 |
|
|
c to another place. |
19 |
|
|
c |
20 |
|
|
c |
21 |
|
|
c Documentation: |
22 |
|
|
c ============== |
23 |
|
|
c |
24 |
|
|
c This is a brief description of the MITgcmuv adjoint model. |
25 |
|
|
c |
26 |
|
|
c Contents: |
27 |
|
|
c |
28 |
|
|
c 1.0 Basics |
29 |
|
|
c 2.0 The Tangent Linear and Adjoint Model Compiler |
30 |
|
|
c 2.1. TAMC Directives |
31 |
|
|
c 2.2. Hand-coded MITgcmUV Routines |
32 |
|
|
c 2.3. Postprocessing of the TAMC Generated Adjoint Code |
33 |
|
|
c |
34 |
|
|
c 3.0 Data Management |
35 |
|
|
c 3.1. Active Variables on File |
36 |
|
|
c 3.2. Storing the Reference Trajectory |
37 |
|
|
c |
38 |
|
|
c 4.0 Checkpointing |
39 |
|
|
c 4.1. Checkpointing the Adjoint Code |
40 |
|
|
c 4.2. Checkpointing the Model; Doing Restarts |
41 |
|
|
c |
42 |
|
|
c |
43 |
|
|
c For a documentation of the MITgcmuv see: |
44 |
|
|
c |
45 |
|
|
c Hydrostatic, quasi-hydrostatic, and nonhydrostatic ocean |
46 |
|
|
c modeling. |
47 |
|
|
c J. Marshall, Ch. Hill, L. Perelman, and A. Adcroft |
48 |
|
|
c JGR, Vol. 102, No. C3, pp. 5733-5752 |
49 |
|
|
c |
50 |
|
|
c A finite-volume, incompressible Navier Stokes model for |
51 |
|
|
c studies of the ocean on parallel computers. |
52 |
|
|
c J. Marshall, A. Adcroft, Ch. Hill, L. Perelman, and |
53 |
|
|
c C. Heisey |
54 |
|
|
c JGR, Vol. 102, No. C3, pp. 5753-5766 |
55 |
|
|
c |
56 |
|
|
c Representation of Topography by Shaved Cells in a Height |
57 |
|
|
c Coordinate Ocean Model. |
58 |
|
|
c A. Adcroft, Ch. Hill, and J. Marshall |
59 |
|
|
c Mon. Wea. Rev., 1997, Vol. 125, pp. 2293-2315 |
60 |
|
|
c |
61 |
|
|
c |
62 |
|
|
c For a documentation of the Tangent Linear and Adjoint |
63 |
|
|
c Model Compiler see: |
64 |
|
|
c |
65 |
|
|
c http://puddle.mit.edu/~ralf/tamc/tamc.html |
66 |
|
|
c and the references therein. |
67 |
|
|
c |
68 |
|
|
c |
69 |
|
|
c 1.0 Basics |
70 |
|
|
c |
71 |
|
|
c |
72 |
|
|
c 2.0 The Tangent Linear and Adjoint Model Compiler |
73 |
|
|
c |
74 |
|
|
c 2.1. TAMC Directives |
75 |
|
|
c |
76 |
|
|
c 2.2. Hand-coded MITgcmUV Routines |
77 |
|
|
c |
78 |
|
|
c |
79 |
|
|
c 3.0 Data Management |
80 |
|
|
c |
81 |
|
|
c 3.1. Active Variables on File |
82 |
|
|
c |
83 |
|
|
c 3.2. Storing the Reference Trajectory |
84 |
|
|
c |
85 |
|
|
c |
86 |
|
|
c 4.0 Checkpointing |
87 |
|
|
c |
88 |
|
|
c 4.1. Checkpointing the Adjoint Code |
89 |
|
|
c |
90 |
|
|
c 4.2. Checkpointing the Model; Doing Restarts |
91 |
|
|
c |
92 |
|
|
c |
93 |
|
|
c started: Christian Eckert eckert@mit.edu 21-Jul-1999 |
94 |
|
|
c |
95 |
|
|
c changed: Christian Eckert eckert@mit.edu 11-Feb-2000 |
96 |
|
|
c |
97 |
|
|
c - Restructured the code in order to create a package |
98 |
|
|
c for the MITgcmUV. |
99 |
|
|
c |
100 |
|
|
c ================================================================== |
101 |
|
|
c SUBROUTINE adjoint_model |
102 |
|
|
c ================================================================== |
103 |
|
|
|
104 |
|
|
implicit none |
105 |
|
|
|
106 |
|
|
c == routine arguments == |
107 |
|
|
|
108 |
|
|
integer mythid |
109 |
|
|
|
110 |
|
|
c == end of interface == |
111 |
|
|
|
112 |
|
|
return |
113 |
|
|
end |