/[MITgcm]/MITgcm/pkg/cost/adcost.h
ViewVC logotype

Contents of /MITgcm/pkg/cost/adcost.h

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


Revision 1.3 - (show annotations) (download)
Thu Oct 2 21:34:45 2003 UTC (20 years, 8 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint51k_post, checkpoint51o_pre, checkpoint51l_post, checkpoint51t_post, checkpoint51n_post, checkpoint51s_post, checkpoint51j_post, checkpoint51n_pre, checkpoint51l_pre, checkpoint51q_post, checkpoint51h_pre, checkpoint51r_post, checkpoint51i_post, checkpoint51i_pre, checkpoint51o_post, checkpoint51g_post, checkpoint51m_post, checkpoint51p_post
Branch point for: branch-nonh, tg2-branch, checkpoint51n_branch
Changes since 1.2: +8 -1 lines
File MIME type: text/plain
Bringing cost/ ctrl/ up to date.

1
2 c ==================================================================
3 c HEADER ADCOST
4 c ==================================================================
5 c
6 c o Header for model-data comparison; adjoint part.
7 c
8 c The individual cost function contributions are multiplied by
9 c factors mult_"var" which allow to switch off these contributions
10 c without removing them in the adjoint code. This is useful for
11 c doing tests with the adjoint and perhaps useful in assimilation
12 c experiments where individual contributions are successively
13 c switched on. For future applications it would be better to place
14 c the initialisation of the multipliers somewhere else, for example
15 c in a namelist, which is read in at the start of the model.
16 c
17 c started: Christian Eckert eckert@mit.edu 06-Apr-2000
18 c
19 c changed: Christian Eckert eckert@mit.edu
20 c
21 c
22 c ==================================================================
23 c HEADER ADCOST
24 c ==================================================================
25
26 common /adcost_r/
27 & adfc,
28 & adobjf_hflux,
29 & adobjf_sflux,
30 & adobjf_tauu,
31 & adobjf_tauv,
32 & adobjf_hmean,
33 & adobjf_h,
34 & adobjf_temp,
35 & adobjf_salt,
36 & adobjf_sst,
37 & adobjf_ctds,
38 & adobjf_ctdt
39 _RL adfc
40 _RL adobjf_hflux (nsx,nsy)
41 _RL adobjf_sflux (nsx,nsy)
42 _RL adobjf_tauu (nsx,nsy)
43 _RL adobjf_tauv (nsx,nsy)
44 _RL adobjf_hmean
45 _RL adobjf_h (nsx,nsy)
46 _RL adobjf_temp (nsx,nsy)
47 _RL adobjf_salt (nsx,nsy)
48 _RL adobjf_sst (nsx,nsy)
49 _RL adobjf_ctds (nsx,nsy)
50 _RL adobjf_ctdt (nsx,nsy)
51
52 #ifdef ALLOW_COST_STATE_FINAL
53 common /adcost_state_final_r/
54 & adobjf_state_final
55 _RL adobjf_state_final (snx,sny,nsx,nsy)
56 cph _RL adobjf_state_final (snx,sny,nr,nsx,nsy,2)
57 #endif
58
59 #ifdef ALLOW_COST_VECTOR
60 common /adcost_vector_r/
61 & adobjf_vector
62 _RL adobjf_vector(snx,nsx,nsy)
63 #endif
64
65 c ==================================================================
66 c END OF HEADER ADCOST
67 c ==================================================================
68

  ViewVC Help
Powered by ViewVC 1.1.22