/[MITgcm]/MITgcm/pkg/ecco/cost_gencost_customize.F
ViewVC logotype

Annotation of /MITgcm/pkg/ecco/cost_gencost_customize.F

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


Revision 1.3 - (hide annotations) (download)
Mon Apr 19 22:02:23 2010 UTC (14 years, 1 month ago) by gforget
Branch: MAIN
CVS Tags: checkpoint63p, checkpoint63q, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint63, checkpoint62g, checkpoint62f, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x
Changes since 1.2: +5 -5 lines
bug fix

1 gforget 1.3 C $Header: /u/gcmpack/MITgcm/pkg/ecco/cost_gencost_customize.F,v 1.2 2010/03/13 23:12:48 heimbach Exp $
2 heimbach 1.1 C $Name: $
3    
4     #include "COST_CPPOPTIONS.h"
5    
6     subroutine cost_gencost_customize( mythid )
7    
8     c ==================================================================
9     c SUBROUTINE cost_gencost_assignperiod
10     c ==================================================================
11    
12     implicit none
13    
14     c == global variables ==
15    
16     #include "EEPARAMS.h"
17     #include "SIZE.h"
18     #include "PARAMS.h"
19     #include "DYNVARS.h"
20     #include "FFIELDS.h"
21    
22     #include "optim.h"
23     #include "ecco_cost.h"
24     #include "ctrl_dummy.h"
25    
26     c == routine arguments ==
27    
28     integer mythid
29    
30     #ifdef ALLOW_GENCOST_CONTRIBUTION
31     c == local variables ==
32    
33     integer bi,bj
34     integer i,j
35     integer itlo,ithi
36     integer jtlo,jthi
37     integer jmin,jmax
38     integer imin,imax
39    
40     c == end of interface ==
41    
42 heimbach 1.2 jtlo = mybylo(mythid)
43     jthi = mybyhi(mythid)
44     itlo = mybxlo(mythid)
45     ithi = mybxhi(mythid)
46     jmin = 1
47     jmax = sny
48     imin = 1
49     imax = snx
50    
51 heimbach 1.1 do bj = jtlo,jthi
52     do bi = itlo,ithi
53     do j = jmin,jmax
54     do i = imin,imax
55     c #1:
56 gforget 1.3 c gencost_modfld(i,j,bi,bj,1) = qnet(i,j,bi,bj)
57 heimbach 1.1 c #2:
58 gforget 1.3 gencost_modfld(i,j,bi,bj,1) = empmr(i,j,bi,bj)
59 heimbach 1.1 c #3:
60 gforget 1.3 c gencost_modfld(i,j,bi,bj,3) = fu(i,j,bi,bj)
61 heimbach 1.1 c #4:
62 gforget 1.3 c gencost_modfld(i,j,bi,bj,4) = fv(i,j,bi,bj)
63 heimbach 1.1 c
64     enddo
65     enddo
66     enddo
67     enddo
68    
69     #endif /* ALLOW_GENCOST_CONTRIBUTION */
70    
71     end

  ViewVC Help
Powered by ViewVC 1.1.22