/[MITgcm]/MITgcm/pkg/smooth/SMOOTH.h
ViewVC logotype

Contents of /MITgcm/pkg/smooth/SMOOTH.h

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


Revision 1.5 - (show annotations) (download)
Sat Jan 25 16:03:56 2014 UTC (10 years, 5 months ago) by atn
Branch: MAIN
CVS Tags: checkpoint64u, checkpoint64t
Changes since 1.4: +5 -3 lines
File MIME type: text/plain
Add in run-time parameter smooth2Ddiffnbt to replace a hardcoded number of 300;
to be used with ecco package in cost_gencost_sshv4.F and cost_sshv4.F.

1 C $Header: /u/gcmpack/MITgcm/pkg/smooth/SMOOTH.h,v 1.4 2012/08/21 13:46:30 gforget Exp $
2 C $Name: $
3
4 c pkg/smooth constants
5
6 integer smoothprec
7 parameter ( smoothprec = 32 )
8
9 logical smooth3DdoImpldiff
10 parameter ( smooth3DdoImpldiff = .TRUE. )
11
12 integer smoothOpNbMax
13 PARAMETER ( smoothOpNbMax = 10 )
14
15 _RL smooth2DdelTime,smooth3DdelTime
16 PARAMETER ( smooth2DdelTime = 1. _d 0 )
17 PARAMETER ( smooth3DdelTime = 1. _d 0 )
18
19 c fields:
20
21 _RS
22 & smooth_recip_hFacC(1-Olx:sNx+Olx,1-Oly:sNy+Oly,Nr,nSx,nSy),
23 & smooth_hFacW(1-Olx:sNx+Olx,1-Oly:sNy+Oly,Nr,nSx,nSy),
24 & smooth_hFacS(1-Olx:sNx+Olx,1-Oly:sNy+Oly,Nr,nSx,nSy)
25
26 integer smooth3Dnbt(smoothOpNbMax),
27 & smooth3DtypeZ(smoothOpNbMax),smooth3DsizeZ(smoothOpNbMax),
28 & smooth3DtypeH(smoothOpNbMax),smooth3DsizeH(smoothOpNbMax),
29 & smooth3Dfilter(smoothOpNbMax)
30 _RL smooth3DtotTime,
31 & smooth3D_Lx0(smoothOpNbMax),
32 & smooth3D_Ly0(smoothOpNbMax), smooth3D_Lz0(smoothOpNbMax),
33 & smooth3D_Lx(1-Olx:sNx+Olx,1-Oly:sNy+Oly,Nr,nSx,nSy),
34 & smooth3D_Ly(1-Olx:sNx+Olx,1-Oly:sNy+Oly,Nr,nSx,nSy),
35 & smooth3D_Lz(1-Olx:sNx+Olx,1-Oly:sNy+Oly,Nr,nSx,nSy),
36 & smooth3Dnorm (1-Olx:sNx+Olx,1-Oly:sNy+Oly,Nr,nSx,nSy)
37
38 integer smooth2Dnbt(smoothOpNbMax),
39 & smooth2Dtype(smoothOpNbMax),smooth2Dsize(smoothOpNbMax),
40 & smooth2Dfilter(smoothOpNbMax),
41 & smooth2Ddiffnbt
42 _RL smooth2DtotTime,
43 & smooth2D_Lx0(smoothOpNbMax),smooth2D_Ly0(smoothOpNbMax),
44 & smooth2D_Lx(1-Olx:sNx+Olx,1-Oly:sNy+Oly,nSx,nSy),
45 & smooth2D_Ly(1-Olx:sNx+Olx,1-Oly:sNy+Oly,nSx,nSy),
46 & smooth2Dnorm (1-Olx:sNx+Olx,1-Oly:sNy+Oly,nSx,nSy)
47
48 _RL
49 & smooth3D_kappaR (1-Olx:sNx+Olx,1-Oly:sNy+Oly,Nr,nSx,nSy),
50 & smooth3D_Kwx(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy),
51 & smooth3D_Kwy(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy),
52 & smooth3D_Kwz(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy),
53 & smooth3D_Kux(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy),
54 & smooth3D_Kvy(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy),
55 & smooth3D_Kuz(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy),
56 & smooth3D_Kvz(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy),
57 & smooth3D_Kuy(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy),
58 & smooth3D_Kvx(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
59
60 _RL
61 & smooth2D_Kux (1-Olx:sNx+Olx,1-Oly:sNy+Oly,nSx,nSy),
62 & smooth2D_Kvy (1-Olx:sNx+Olx,1-Oly:sNy+Oly,nSx,nSy)
63
64 COMMON /smooth_flds_rs/
65 & smooth_recip_hFacC, smooth_hFacW, smooth_hFacS
66
67 COMMON /smooth_flds_rl/
68 & smooth3Dnorm,smooth3DtotTime,
69 & smooth2Dnorm,smooth2DtotTime,
70 & smooth3D_Lx0,smooth3D_Ly0,smooth3D_Lz0,
71 & smooth3D_Lx,smooth3D_Ly,smooth3D_Lz,
72 & smooth2D_Lx0,smooth2D_Ly0,
73 & smooth2D_Lx,smooth2D_Ly
74
75 COMMON /smooth_operators_i/
76 & smooth3Dnbt, smooth2Dnbt,
77 & smooth2Dtype, smooth2Dsize,
78 & smooth3DtypeZ, smooth3DsizeZ,
79 & smooth3DtypeH, smooth3DsizeH,
80 & smooth2Dfilter, smooth3Dfilter,
81 & smooth2Ddiffnbt
82
83 COMMON /smooth_operators_r/
84 & smooth3D_kappaR,smooth3D_Kwx,smooth3D_Kwy,smooth3D_Kwz,
85 & smooth3D_Kux,smooth3D_Kvy,smooth3D_Kuz,smooth3D_Kvz,
86 & smooth3D_Kuy,smooth3D_Kvx,
87 & smooth2D_Kux,smooth2D_Kvy
88
89

  ViewVC Help
Powered by ViewVC 1.1.22