1 |
gforget |
1.1 |
C $Header: /u/gcmpack/MITgcm_contrib/gael/pkg/smooth2/smooth.h,v 1.1 2009/10/24 23:27:24 gforget Exp $ |
2 |
|
|
C $Name: $ |
3 |
|
|
|
4 |
|
|
c pkg/smooth constants |
5 |
|
|
|
6 |
|
|
integer smoothprec |
7 |
|
|
parameter ( smoothprec = 64 ) |
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 |
|
|
integer smooth3Dnbt(smoothOpNbMax), |
22 |
|
|
& smooth3DtypeZ(smoothOpNbMax),smooth3DsizeZ(smoothOpNbMax), |
23 |
|
|
& smooth3DtypeH(smoothOpNbMax),smooth3DsizeH(smoothOpNbMax), |
24 |
|
|
& smooth3Dfilter(smoothOpNbMax) |
25 |
|
|
_RL smooth3DtotTime, |
26 |
|
|
& smooth3D_Lx0(smoothOpNbMax), |
27 |
|
|
& smooth3D_Ly0(smoothOpNbMax), smooth3D_Lz0(smoothOpNbMax), |
28 |
|
|
& smooth3D_Lx(1-Olx:sNx+Olx,1-Oly:sNy+Oly,Nr,nSx,nSy), |
29 |
|
|
& smooth3D_Ly(1-Olx:sNx+Olx,1-Oly:sNy+Oly,Nr,nSx,nSy), |
30 |
|
|
& smooth3D_Lz(1-Olx:sNx+Olx,1-Oly:sNy+Oly,Nr,nSx,nSy), |
31 |
|
|
& smooth3Dnorm (1-Olx:sNx+Olx,1-Oly:sNy+Oly,Nr,nSx,nSy) |
32 |
|
|
|
33 |
|
|
integer smooth2Dnbt(smoothOpNbMax), |
34 |
|
|
& smooth2Dtype(smoothOpNbMax),smooth2Dsize(smoothOpNbMax), |
35 |
|
|
& smooth2Dfilter(smoothOpNbMax) |
36 |
|
|
_RL smooth2DtotTime, |
37 |
|
|
& smooth2D_Lx0(smoothOpNbMax),smooth2D_Ly0(smoothOpNbMax), |
38 |
|
|
& smooth2D_Lx(1-Olx:sNx+Olx,1-Oly:sNy+Oly,nSx,nSy), |
39 |
|
|
& smooth2D_Ly(1-Olx:sNx+Olx,1-Oly:sNy+Oly,nSx,nSy), |
40 |
|
|
& smooth2Dnorm (1-Olx:sNx+Olx,1-Oly:sNy+Oly,nSx,nSy) |
41 |
|
|
|
42 |
|
|
_RL |
43 |
|
|
& smooth3D_kappaR (1-Olx:sNx+Olx,1-Oly:sNy+Oly,Nr,nSx,nSy), |
44 |
|
|
& smooth3D_Kwx(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy), |
45 |
|
|
& smooth3D_Kwy(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy), |
46 |
|
|
& smooth3D_Kwz(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy), |
47 |
|
|
& smooth3D_Kux(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy), |
48 |
|
|
& smooth3D_Kvy(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy), |
49 |
|
|
& smooth3D_Kuz(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy), |
50 |
|
|
& smooth3D_Kvz(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy), |
51 |
|
|
& smooth3D_Kuy(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy), |
52 |
|
|
& smooth3D_Kvx(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy) |
53 |
|
|
|
54 |
|
|
_RL |
55 |
|
|
& smooth2D_Kux (1-Olx:sNx+Olx,1-Oly:sNy+Oly,nSx,nSy), |
56 |
|
|
& smooth2D_Kvy (1-Olx:sNx+Olx,1-Oly:sNy+Oly,nSx,nSy) |
57 |
|
|
|
58 |
|
|
COMMON /smooth_flds_r/ |
59 |
|
|
& smooth3Dnorm,smooth3DtotTime, |
60 |
|
|
& smooth2Dnorm,smooth2DtotTime, |
61 |
|
|
& smooth3D_Lx0,smooth3D_Ly0,smooth3D_Lz0, |
62 |
|
|
& smooth3D_Lx,smooth3D_Ly,smooth3D_Lz, |
63 |
|
|
& smooth2D_Lx0,smooth2D_Ly0, |
64 |
|
|
& smooth2D_Lx,smooth2D_Ly |
65 |
|
|
|
66 |
|
|
COMMON /smooth_operators_i/ |
67 |
|
|
& smooth3Dnbt, smooth2Dnbt, |
68 |
|
|
& smooth2Dtype, smooth2Dsize, |
69 |
|
|
& smooth3DtypeZ, smooth3DsizeZ, |
70 |
|
|
& smooth3DtypeH, smooth3DsizeH, |
71 |
|
|
& smooth2Dfilter, smooth3Dfilter |
72 |
|
|
|
73 |
|
|
COMMON /smooth_operators_r/ |
74 |
|
|
& smooth3D_kappaR,smooth3D_Kwx,smooth3D_Kwy,smooth3D_Kwz, |
75 |
|
|
& smooth3D_Kux,smooth3D_Kvy,smooth3D_Kuz,smooth3D_Kvz, |
76 |
|
|
& smooth3D_Kuy,smooth3D_Kvx, |
77 |
|
|
& smooth2D_Kux,smooth2D_Kvy |
78 |
|
|
|
79 |
|
|
|