/[MITgcm]/MITgcm/pkg/cost/cost_tile.F
ViewVC logotype

Annotation of /MITgcm/pkg/cost/cost_tile.F

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


Revision 1.1 - (hide annotations) (download)
Fri Jul 13 13:37:45 2001 UTC (22 years, 10 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint40pre3, checkpoint40pre7, checkpoint40pre6, checkpoint40pre9, checkpoint40pre8, checkpoint40pre2, checkpoint40pre4, checkpoint40pre5, checkpoint42, checkpoint40, checkpoint41
Extending cost/ package to include cost function for carbon sequestration.

1 heimbach 1.1 C $Header$
2    
3     #include "CPP_OPTIONS.h"
4    
5     subroutine cost_tile( myThid )
6     C /==========================================================\
7     C | subroutine cost_tile |
8     C | o this routine computes the cost function for the tiles |
9     C | of this processor |
10     C |==========================================================|
11     C | |
12     C | Notes |
13     C | ===== |
14     C \==========================================================/
15     implicit none
16    
17     C == Global variables ===
18     #include "SIZE.h"
19     #include "EEPARAMS.h"
20     #include "PARAMS.h"
21     #include "DYNVARS.h"
22     #include "GRID.h"
23    
24     C == Routine arguments ==
25     C myThid - Thread number for this instance of the routine.
26     integer myThid
27    
28     #ifdef ALLOW_COST
29    
30     integer bi, bj
31    
32     C-- TAMC need a stmt in front of a HPF directive
33    
34     DO bj=myByLo(myThid),myByHi(myThid)
35     DO bi=myBxLo(myThid),myBxHi(myThid)
36    
37     #ifdef ALLOW_COST_TRACER
38     CALL COST_TRACER( bi, bj, myThid )
39     #endif
40    
41     ENDDO
42     ENDDO
43    
44     #endif /* ALLOW_COST */
45    
46     RETURN
47     END

  ViewVC Help
Powered by ViewVC 1.1.22