/[MITgcm]/MITgcm/pkg/admtlm/admtlm_init_fixed.F
ViewVC logotype

Contents of /MITgcm/pkg/admtlm/admtlm_init_fixed.F

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


Revision 1.3 - (show annotations) (download)
Mon Oct 8 23:45:51 2007 UTC (16 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint63p, checkpoint63q, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint60, checkpoint61, checkpoint62, checkpoint63, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59k, checkpoint59j, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint61z, checkpoint61x, checkpoint61y
Changes since 1.2: +3 -1 lines
add missing cvs $Header:$ or $Name:$

1 C $Header: $
2 C $Name: $
3
4 #include "CPP_OPTIONS.h"
5
6 subroutine admtlm_init_fixed( myThid )
7 C /==========================================================\
8 C | subroutine admtlm_init_fixed |
9 C | o This routine assigns final T,S to cost function |
10 C \==========================================================/
11 implicit none
12
13 C == Global variables ===
14 #include "SIZE.h"
15 #include "EEPARAMS.h"
16 #include "PARAMS.h"
17 #ifdef ALLOW_ADMTLM
18 # include "ctrl.h"
19 # include "ctrl_weights.h"
20 #endif
21
22 C ======== Routine arguments ======================
23 C myThid - Thread number for this instance of the routine.
24 integer myThid
25
26 #ifdef ALLOW_ADMTLM
27 C ========= Local variables =========================
28 integer i, j, k
29 integer bi, bj
30 _RL dummy
31
32 dummy = 0.
33
34 DO bj=myByLo(myThid),myByHi(myThid)
35 DO bi=myBxLo(myThid),myBxHi(myThid)
36 c
37 c N.B. !!!
38 c Values here should be 1/(std.dev.)^2
39 c to be consistent with ctrl_set_*pack_xy* routines
40 c N.B. !!!
41 c
42 DO k=1,Nr
43 wtheta(k,bi,bj) = 1. / (1. _d 0)**2
44 wsalt (k,bi,bj) = 1. / (0.1 _d 0)**2
45 wuvvel(k,bi,bj) = 1. / (0.01 _d 0)**2
46 END DO
47 c
48 DO j=1,sNy
49 DO i=1,sNx
50 wetan(i,j,bi,bj) = 1. / (0.1 _d 0)**2
51 END DO
52 END DO
53 c
54 END DO
55 END DO
56
57 call active_write_xy('wetan',wetan,1,0,mythid,dummy)
58
59 #endif
60
61 end

  ViewVC Help
Powered by ViewVC 1.1.22