/[MITgcm]/MITgcm/optim/optim_write_control.F
ViewVC logotype

Annotation of /MITgcm/optim/optim_write_control.F

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


Revision 1.4 - (hide annotations) (download)
Tue May 26 22:54:09 2015 UTC (8 years, 11 months ago) by gforget
Branch: MAIN
Changes since 1.3: +2 -0 lines
- add CTRL_OPTIONS.h that is needed to set maxcvars correctly
  when using generic controls (contributed by D. Amrhein).

1 heimbach 1.2
2 gforget 1.4 #include "CTRL_OPTIONS.h"
3    
4 heimbach 1.2 subroutine optim_write_control(
5     I nv,
6     I xx
7     & )
8    
9     c ==================================================================
10     c SUBROUTINE optim_write_control
11     c ==================================================================
12     c
13     c o Interface routine for writing the next estimate of the control
14     c vector that is to be used by the ocean state estimation program.
15     c
16     c started: Christian Eckert eckert@mit.edu 12-Apr-2000
17     c
18     c changed: Patrick Heimbach heimbach@mit.edu 19-Jun-2000
19     c - finished, revised and debugged
20     c
21     c ==================================================================
22     c SUBROUTINE optim_write_control
23     c ==================================================================
24    
25     implicit none
26    
27     c == global variables ==
28    
29     #include "EEPARAMS.h"
30     #include "SIZE.h"
31    
32     #include "ctrl.h"
33     #include "optim.h"
34    
35     c == routine arguments ==
36    
37     integer nv
38     _RL xx(nv)
39    
40     c == local variables ==
41    
42     _RL ff
43    
44     logical lheaderonly
45    
46     c == end of interface ==
47    
48     ff = -9999.
49    
50     print *,'pathei: writing ', nv,' sized control to file',
51     & ctrlname
52    
53     lheaderonly = .false.
54     call optim_writedata( nv, ctrlname, lheaderonly, ff, xx )
55    
56     return
57     end
58    

  ViewVC Help
Powered by ViewVC 1.1.22