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

Contents of /MITgcm/pkg/cost/cost_final_store.F

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


Revision 1.3 - (show annotations) (download)
Mon Oct 8 23:59:21 2007 UTC (16 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62c, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62w, checkpoint62z, checkpoint62y, checkpoint62x, checkpoint63g, checkpoint60, checkpoint61, checkpoint62, checkpoint63, checkpoint63p, checkpoint63q, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59k, checkpoint62b, checkpoint61f, checkpoint61n, checkpoint59j, checkpoint61q, checkpoint61e, checkpoint61g, checkpoint61d, checkpoint61b, checkpoint61c, checkpoint61a, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61z, checkpoint61x, checkpoint61y
Changes since 1.2: +4 -3 lines
add missing cvs $Header:$ or $Name:$

1 C $Header: $
2 C $Name: $
3
4 #include "COST_CPPOPTIONS.h"
5
6
7 subroutine cost_final_store ( mythid, lastdiva )
8
9 c ==================================================================
10 c SUBROUTINE cost_final_store
11 c ==================================================================
12 c
13 c Store cost function value
14 c This is required in conjunction with DIVA
15 c heimbach@mit.edu 5-Mar-2003
16 c
17 c ==================================================================
18 c SUBROUTINE cost_final_store
19 c ==================================================================
20
21 implicit none
22
23 c == global variables ==
24
25 #include "EEPARAMS.h"
26 #include "SIZE.h"
27
28 #include "cost.h"
29
30 c == routine arguments ==
31
32 integer mythid
33 logical lastdiva
34
35 # ifdef ALLOW_DIVIDED_ADJOINT
36
37 c == local variables ==
38
39 c == end of interface ==
40
41 c-- Each process has calculated the global part for itself.
42 lastdiva = .FALSE.
43
44 IF (myProcId .eq. 0) THEN
45 _BEGIN_MASTER( mythid )
46 open(unit=76,file='costfinal')
47 write(76,*) fc
48 close(76)
49 _END_MASTER( mythid )
50 ENDIF
51 _BARRIER
52
53 #endif
54
55 end

  ViewVC Help
Powered by ViewVC 1.1.22