/[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.3 - (show annotations) (download)
Thu Sep 9 15:51:26 2004 UTC (19 years, 7 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint57m_post, checkpoint57g_pre, checkpoint57s_post, checkpoint57b_post, checkpoint57g_post, checkpoint56b_post, checkpoint57y_post, checkpoint57r_post, checkpoint57d_post, checkpoint57i_post, checkpoint58, checkpoint55, checkpoint57, checkpoint56, checkpoint57n_post, checkpoint58a_post, checkpoint57z_post, checkpoint54f_post, checkpoint55i_post, checkpoint57l_post, checkpoint57t_post, checkpoint55c_post, checkpoint57v_post, checkpoint57f_post, checkpoint57a_post, checkpoint57h_pre, checkpoint57h_post, checkpoint57y_pre, checkpoint55g_post, checkpoint57c_post, checkpoint55d_post, checkpoint55d_pre, checkpoint57c_pre, checkpoint55j_post, checkpoint55h_post, checkpoint57e_post, checkpoint55b_post, checkpoint55f_post, checkpoint57p_post, checkpint57u_post, checkpoint57q_post, eckpoint57e_pre, checkpoint56a_post, checkpoint57h_done, checkpoint57j_post, checkpoint57f_pre, checkpoint56c_post, checkpoint57a_pre, checkpoint55a_post, checkpoint57o_post, checkpoint57k_post, checkpoint57w_post, checkpoint57x_post, checkpoint55e_post
Changes since 1.2: +9 -2 lines
Small modifs and fixes
(mostly change to real*4 for large-scale ECCO runs)

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, rectmp
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 print *, 'pathei: in instore '
21
22 cc one record = two arrays of real*(isize)
23
24 open( itape
25 $ , file = 'OPWARMI'
26 $ , status = 'unknown'
27 $ , form = 'formatted'
28 $ , access = 'sequential'
29 $ )
30
31 read( itape, *, end=800, err=900 ) n, fc, gnorm0,
32 $ isize, m, jmin, jmax
33 cold = .false.
34
35 800 continue
36 close(itape)
37
38 print*
39 write(*,'(a,i10,a,i2)')
40 $ ' opening direct access with recl = ',n,' * ',isize
41 print*
42
43 rectmp = n * isize
44 cph(
45 print *, 'pathei rectmp ', rectmp, n, isize
46 cph)
47
48 open( ntape
49 $ , file = 'OPWARMD'
50 $ , status = 'unknown'
51 $ , form = 'unformatted'
52 $ , access = 'direct'
53 $ , recl = rectmp
54 $ )
55
56 return
57
58 900 continue
59 close(itape)
60 ifail = 1
61
62 return
63 end

  ViewVC Help
Powered by ViewVC 1.1.22