/[MITgcm]/MITgcm/lsopt/instore.F
ViewVC logotype

Contents of /MITgcm/lsopt/instore.F

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


Revision 1.1.2.1 - (show annotations) (download)
Tue Feb 5 20:34:33 2002 UTC (22 years, 3 months ago) by heimbach
Branch: ecco-branch
CVS Tags: ecco_c50_e32, ecco_c50_e33, ecco_c50_e30, ecco_c50_e31, ecco_c51_e34d, ecco_c51_e34e, ecco_c51_e34f, ecco_c51_e34g, ecco_c51_e34a, ecco_c51_e34b, ecco_c51_e34c, icebear5, icebear4, icebear3, icebear2, ecco_c50_e29, ecco_c50_e28, ecco_c44_e19, ecco_c44_e18, ecco_c44_e17, ecco_c44_e16, ecco_c50_e33a, ecco_c51_e34, ecco_ice2, ecco_ice1, ecco_c44_e25, ecco_c44_e22, ecco_c44_e23, ecco_c44_e20, ecco_c44_e21, ecco_c44_e26, ecco_c44_e27, ecco_c44_e24, ecco-branch-mod1, ecco-branch-mod2, ecco-branch-mod3, ecco-branch-mod4, ecco-branch-mod5
Branch point for: c24_e25_ice, icebear
Changes since 1.1: +56 -0 lines
o Updating adjoint/makefile to ECCO code
o Adding optim and lsopt for line search optimization.
o Adding verif. experiments for ECCO
Code will be tagged ecco-branch-mod1.

1 subroutine instore( n, fc, gnorm0, is, m, jmin, jmax,
2 & cold, ifail )
3 c
4 c arguments
5 c
6 integer n, is, m, jmin, jmax, ifail
7 double precision fc, gnorm0
8 logical cold
9 c----
10 c
11 common /xxstore/ itape, ntape, isize
12 integer itape, ntape, isize
13
14 ifail = 0
15 itape = 91
16 ntape = 92
17 isize = is
18 cold = .true.
19
20 cc one record = two arrays of real*(isize)
21
22 open( itape
23 $ , file = 'OPWARMI'
24 $ , status = 'unknown'
25 $ , form = 'formatted'
26 $ , access = 'sequential'
27 $ )
28
29 read( itape, *, end=800, err=900 ) n, fc, gnorm0,
30 $ isize, m, jmin, jmax
31 cold = .false.
32
33 800 continue
34 close(itape)
35
36 print*
37 write(*,'(a,i10,a,i2)')
38 $ ' opening direct access with recl = ',n,' * ',isize
39 print*
40
41 open( ntape
42 $ , file = 'OPWARMD'
43 $ , status = 'unknown'
44 $ , form = 'unformatted'
45 $ , access = 'direct'
46 $ , recl = n * isize
47 $ )
48
49 return
50
51 900 continue
52 close(itape)
53 ifail = 1
54
55 return
56 end

  ViewVC Help
Powered by ViewVC 1.1.22