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