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

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

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


Revision 1.2 - (hide annotations) (download)
Wed Jan 26 14:39:20 2005 UTC (19 years, 4 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint57d_post, checkpoint57g_post, checkpoint57c_pre, checkpoint57e_post, checkpoint57g_pre, checkpoint57f_pre, eckpoint57e_pre, checkpoint57f_post, checkpoint57c_post
Changes since 1.1: +2 -2 lines
Changed CPP flags for ADMTLM

1 heimbach 1.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 heimbach 1.2 #ifdef ALLOW_ADMTLM
16 heimbach 1.1 # 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 heimbach 1.2 #ifdef ALLOW_ADMTLM
25 heimbach 1.1 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     adobjf_state_final(i,j,bi,bj,1) =
34     & g_objf_state_final(i,j,bi,bj,1)
35     adobjf_state_final(i,j,bi,bj,2) =
36     & g_objf_state_final(i,j,bi,bj,2)
37     END DO
38     END DO
39     END DO
40     END DO
41    
42     #endif
43    
44     end

  ViewVC Help
Powered by ViewVC 1.1.22