/[MITgcm]/MITgcm/pkg/admtlm/admtlm_map.F
ViewVC logotype

Contents of /MITgcm/pkg/admtlm/admtlm_map.F

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


Revision 1.3 - (show annotations) (download)
Fri Apr 29 10:36:45 2005 UTC (19 years ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint58l_post, checkpoint57t_post, checkpoint57o_post, checkpoint58e_post, checkpoint57v_post, checkpoint58u_post, checkpoint58w_post, checkpoint57m_post, checkpoint57s_post, checkpoint57k_post, checkpoint58r_post, checkpoint57i_post, checkpoint57y_post, checkpoint58n_post, checkpoint58x_post, checkpoint58t_post, checkpoint58h_post, checkpoint57y_pre, checkpoint58q_post, checkpoint58j_post, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59h, checkpoint57r_post, checkpoint59, checkpoint58, checkpoint57h_done, checkpoint58f_post, checkpoint57x_post, checkpoint57n_post, checkpoint58d_post, checkpoint58c_post, checkpoint57w_post, checkpoint57p_post, checkpint57u_post, checkpoint58a_post, checkpoint58i_post, checkpoint57q_post, checkpoint58g_post, checkpoint58o_post, checkpoint57z_post, checkpoint58y_post, checkpoint58k_post, checkpoint58v_post, checkpoint58s_post, checkpoint58p_post, checkpoint57j_post, checkpoint58b_post, checkpoint57h_pre, checkpoint58m_post, checkpoint57l_post, checkpoint57h_post
Changes since 1.2: +8 -6 lines
o Extend svd to full state.
o Pass control variables as arguments.

1
2 #include "CPP_OPTIONS.h"
3
4 subroutine admtlm_map( myThid )
5 C /==========================================================\
6 C | subroutine admtlm_map |
7 C | o This routine assigns final T,S to cost function |
8 C \==========================================================/
9 implicit none
10
11 C == Global variables ===
12 #include "SIZE.h"
13 #include "EEPARAMS.h"
14 #include "PARAMS.h"
15 #ifdef ALLOW_ADMTLM
16 # include "adcost.h"
17 # include "g_cost.h"
18 #endif
19
20 C ======== Routine arguments ======================
21 C myThid - Thread number for this instance of the routine.
22 integer myThid
23
24 #ifdef ALLOW_ADMTLM
25 C ========= Local variables =========================
26 integer i, j, k
27 integer bi, bj
28
29 DO bj=myByLo(myThid),myByHi(myThid)
30 DO bi=myBxLo(myThid),myBxHi(myThid)
31 DO j=1,sNy
32 DO i=1,sNx
33 DO k=1,4*Nr
34 adobjf_state_final(i,j,bi,bj,k) =
35 & g_objf_state_final(i,j,bi,bj,k)
36 END DO
37 adobjf_state_final(i,j,bi,bj,4*Nr+1) =
38 & g_objf_state_final(i,j,bi,bj,4*Nr+1)
39 END DO
40 END DO
41 END DO
42 END DO
43
44 #endif
45
46 end

  ViewVC Help
Powered by ViewVC 1.1.22