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

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

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


Revision 1.4 - (hide annotations) (download)
Sun Aug 12 18:29:25 2012 UTC (11 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: 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, checkpoint63r, checkpoint63s, checkpoint64, checkpoint65, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, HEAD
Changes since 1.3: +2 -2 lines
new option-file for this package, included in all *.F files

1 jmc 1.4 C $Header: /u/gcmpack/MITgcm/pkg/admtlm/admtlm_init_fixed.F,v 1.3 2007/10/08 23:45:51 jmc Exp $
2 jmc 1.3 C $Name: $
3 heimbach 1.1
4 jmc 1.4 #include "ADMTLM_OPTIONS.h"
5 heimbach 1.1
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 heimbach 1.2 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 heimbach 1.1 DO k=1,Nr
43 heimbach 1.2 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 heimbach 1.1 END DO
47     c
48     DO j=1,sNy
49     DO i=1,sNx
50 heimbach 1.2 wetan(i,j,bi,bj) = 1. / (0.1 _d 0)**2
51 heimbach 1.1 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 jmc 1.3
61 heimbach 1.1 end

  ViewVC Help
Powered by ViewVC 1.1.22