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

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

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


Revision 1.1.6.1 - (show annotations) (download)
Mon Apr 8 20:10:38 2002 UTC (22 years, 2 months ago) by heimbach
Branch: release1
CVS Tags: release1_p12, release1_p13, release1_p10, release1_p11, release1_p16, release1_p17, release1_p14, release1_p15, release1_p13_pre, release1_p12_pre, release1_p9, release1_p8, release1_p2, release1_p3, release1_p4, release1_p6, release1_p7, release1_p1, release1_p5, release1_chkpt44d_post
Branch point for: release1_50yr
Changes since 1.1: +0 -0 lines
Changes encapsulated by checkpoint43a-release1mods and chkpt44d_post
on the main trunk.
These are:

 o added missing EXCLUDE_MONITOR flags
 o changed "e" to "_d" in gmredi_slope_limit, gmredi_slope_psi
   (incompatible typ in MIN/MAX expressions caused problems
   on IBM SP3)
 o in genmake added variable MAKEDEPEND
   plus resetting for case SunOS
 o added timer_stats.c routine for IBM SP3
 o removed variables in dynamics
 o real fresh water flux implemented with non-linear free-surface.
 o few fix (mask in shap_s2, EmPmR in external_field_load,
   USE_NATURAL_BCS in solve_for_P);
 o add arguments myIter & myTime to S/R obcs_calc & solve_for_P
 o merge of relevant stuff from the ecco-branch:
   - genmake: removed $S64 overwrite for case SunOS
   - pkg/exf: update and corrections for field swapping and obcs
   - pkg/ecco: parameter lists for the_model_main, the_main_loop
               harmonized between ECCO and MITgcm
   - pkg/autodiff: added flow directives for obcs, mdsio_gl_slice
                   updated checkpointing_lev... lists for obcs
   - model/src: minor changes in forward_step, plot_field
                added directive for divided adjoint in the_main_loop
   - pkg/mdsio: added mdsio_gl_slice
 o check parameters & config (chkpt44a_pre,post)
 o OBC and NonLin_FrSurf.
 o fix bug in mom_vi_del2uv
 o select when filters are applied ; add options to zonal_filter (data.zonfilt)
 o gmredi: fix Pb in the adiabatic form ; add options (.e.g. Bolus advection)
 o update AIM experiments (NCEP input files)
 o improve and extend diagnostics (Monitor, TimeAve with NonLin-FrSurf)
 o added some stuff for AD

These were merged with
cvs co -r release1 -P MITgcm
cd MITgcm
cvs update -kk
cvs update -j checkpoint43a-release1mods -j chkpt44d_post -d -P -kk

1
2 CBOI
3 C
4 C !TITLE: TANGENTLINEAR CODE
5 C !AUTHORS: mitgcm developers ( support@mitgcm.org )
6 C !AFFILIATION: Massachussetts Institute of Technology
7 C !DATE:
8 C !INTRODUCTION: tangentlinear code collection
9 c \bv
10 c Top level routine for tangentlinear code generation is the_main_loop.
11 c Tangentlinear code is generated via the makefile in adjoint/
12 c 0. make restore:
13 c Re-instate header or tangentlinear_model.F from template
14 c 1. make:
15 c All .f files are concatenated into one file
16 c tamc_code.f
17 c 2. make ftltaf:
18 c This makefiles contains a list of all routines which must be
19 c differentiated (i.e. analyzed by TAMC/TAF) and those which
20 c must not be differentiated. For the latter, files containing
21 c flow directives are given.
22 c The code generated by TAMC/TAF is written to
23 c tamc_code_ftl.f
24 c 3. make ftlchange:
25 c To maintain the multi-threading index mythid,
26 c the tangentlinear code must be post-processed.
27 c All parameter lists of active I/O routines
28 c (active read/write open/close) are augmented by mythid.
29 c The resulting code is copied to
30 c tamc_code_sed_ftl.f
31 c and concatenated to tangentlinear_model.F
32 c
33 c Documentation:
34 c ==============
35 c For a documentation of TAMC see:
36 c http://puddle.mit.edu/~ralf/tamc/tamc.html
37 c For more info on TAF see:
38 c http://www.fastopt.de
39 C \ev
40 CBOI
41
42 #include "CPP_OPTIONS.h"
43
44 CBOP
45 C !ROUTINE: tangentlinear_model
46 C !INTERFACE:
47 subroutine tangentlinear_model(mythid )
48
49 C !DESCRIPTION: \bv
50 c ==================================================================
51 c SUBROUTINE tangentlinear_model
52 c ==================================================================
53 c o This is just a place holder for the TAMC generated tangentlinear
54 c code of the MITgcmuv and related routines. Below you find a short
55 c description of some topics pertaining to the tangentlinear model.
56 c This routine will be overwritten as soon as TAMC will have
57 c generated the tangentlinear model. If you want to keep it copy it
58 c to another place.
59 c started: Christian Eckert eckert@mit.edu 21-Jul-1999
60 c ==================================================================
61 c SUBROUTINE tangentlinear_model
62 c ==================================================================
63 C \ev
64
65 C !USES:
66 implicit none
67
68 c == routine arguments ==
69
70 integer mythid
71
72 c == end of interface ==
73 CEOP
74
75 return
76 end

  ViewVC Help
Powered by ViewVC 1.1.22