/[MITgcm]/MITgcm/pkg/thsice/thsice_cost_init_varia.F
ViewVC logotype

Contents of /MITgcm/pkg/thsice/thsice_cost_init_varia.F

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


Revision 1.1 - (show annotations) (download)
Sat Mar 30 01:23:58 2013 UTC (11 years, 1 month ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64o, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint64n, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint64g, checkpoint64f, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint65, checkpoint64j, checkpoint64m, checkpoint64l, HEAD
First stab at a thsice-specific cost function.

1 C $Header: /u/gcmpack/MITgcm/pkg/seaice/seaice_cost_init_varia.F,v 1.8 2012/07/06 23:07:23 jmc Exp $
2 C $Name: $
3
4 #include "THSICE_OPTIONS.h"
5
6 subroutine thsice_cost_init_varia( mythid )
7
8 c ==================================================================
9 c SUBROUTINE thsice_cost_init_varia
10 c ==================================================================
11 c
12 c ==================================================================
13 c SUBROUTINE thsice_cost_init_varia
14 c ==================================================================
15
16 implicit none
17
18 c == global variables ==
19
20 #include "EEPARAMS.h"
21 #include "SIZE.h"
22 #include "GRID.h"
23 #ifdef ALLOW_COST
24 # include "THSICE_COST.h"
25 #endif
26
27 c == routine arguments ==
28
29 integer mythid
30
31 #ifdef ALLOW_COST
32 c == local variables ==
33
34 integer bi,bj
35 integer itlo,ithi
36 integer jtlo,jthi
37
38 logical exst
39
40 c == external functions ==
41
42 c == end of interface ==
43 jtlo = myByLo(mythid)
44 jthi = myByHi(mythid)
45 itlo = myBxLo(mythid)
46 ithi = myBxHi(mythid)
47
48 c-- Initialize the tiled cost function contributions.
49 do bj = jtlo,jthi
50 do bi = itlo,ithi
51 # ifdef ALLOW_COST
52 objf_thsice(bi,bj) = 0. _d 0
53 num_thsice(bi,bj) = 0. _d 0
54 # endif
55 enddo
56 enddo
57
58 #endif
59
60 return
61 end

  ViewVC Help
Powered by ViewVC 1.1.22