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

Annotation of /MITgcm/optim/optim_initmod.F

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


Revision 1.3 - (hide annotations) (download)
Tue Jan 15 16:36:32 2008 UTC (16 years, 3 months ago) by dfer
Branch: MAIN
CVS Tags: checkpoint62v, checkpoint62u, checkpoint62t, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65l, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, checkpoint62c, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62w, checkpoint62z, checkpoint62y, checkpoint62x, checkpoint63g, checkpoint64, checkpoint65, checkpoint60, checkpoint61, checkpoint62, checkpoint63, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59o, checkpoint59n, checkpoint62b, checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint61f, checkpoint61n, 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: +1 -2 lines
Getting rid of expId and #include "ecco.h" and multiple definition of
xx_sst_file and xx_sss_file in optim_numbmod.F.

1 heimbach 1.2
2    
3     subroutine optim_initmod(
4     I nn,
5     O xx
6     & )
7    
8     c ==================================================================
9     c SUBROUTINE optim_initmod
10     c ==================================================================
11     c
12     c o Optim_Initmod is called before the optimization. It sets a first guess
13     c of the parameter vector. It may also contain the initialization
14     c of the model.
15     c
16     c started: Christian Eckert eckert@mit.edu 15-Feb-2000
17     c
18     c changed: Christian Eckert eckert@mit.edu 10-Mar-2000
19     c
20     c - Added ECCO layout.
21     c
22     c changed: Patrick Heimbach heimbach@mit.edu 19-Jun-2000
23     c - finished, revised and debugged
24     c
25     c ==================================================================
26     c SUBROUTINE optim_initmod
27     c ==================================================================
28    
29     IMPLICIT NONE
30    
31     c == global variables ==
32    
33     #include "EEPARAMS.h"
34     #include "SIZE.h"
35    
36     #include "ctrl.h"
37     #include "optim.h"
38    
39     c == routine arguments ==
40    
41     integer nn
42     _RL xx(nn)
43    
44     c == local variables ==
45    
46     character*(80) fname
47    
48     c == end of interface ==
49    
50     c-- Generate file name for the scaling of the control vector
51     c-- contributions.
52     write(fname(1:80),'(80a)') ' '
53     write(fname(1:80),'(4a,i10.10,a)')
54 dfer 1.3 & scalname(1:9),'_',yctrlid,'.',optimcycle,'.data'
55 heimbach 1.2
56     c-- Read the scaling for the control vector.
57    
58     c --> Presently not implemented, since the control vector and the
59     c gradient of the cost function can already be non-dimensionalized
60     c by *ecco_ControlPack* and *ecco_ControlUnPack*.
61     c
62     c To do this set:
63     c
64     c #define USE_NONDIMENSIONAL_CONTROL_IO
65     c
66     c in CPP_OPTIONS.h. The subroutine *ecco_ControlPack* will then
67     c non-dimensionalize its output and *ecco_ControlUnPack* will
68     c dimensionalize its input.
69    
70     return
71     end

  ViewVC Help
Powered by ViewVC 1.1.22