forked from Nek5000-deprecated/Nek5000-deprecated
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathWZF
36 lines (36 loc) · 1.21 KB
/
WZF
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
c
c Points (z) and weights (w) on velocity, pressure
c
c zgl -- velocity points on Gauss-Lobatto points i = 1,...nx
c zgp -- pressure points on Gauss points i = 1,...nxp (nxp = nx-2)
c
c parameter (lxm = lx1)
parameter (lxq = lx2)
c
common /wz1/ zgl(lx1),wgl(lx1)
$ , zgp(lx1),wgp(lxq)
c
c Tensor- (outer-) product of 1D weights (for volumetric integration)
c
common /wz2/ wgl1(lx1*lx1),wgl2(lxq*lxq)
$ , wgli(lx1*lx1)
c
c
c Frequently used derivative matrices:
c
c D1, D1t --- differentiate on mesh 1 (velocity mesh)
c D2, D2t --- differentiate on mesh 2 (pressure mesh)
c
c DXd,DXdt --- differentiate from velocity mesh ONTO dealiased mesh
c (currently the same as D1 and D1t...)
c
c
common /deriv/ d1 (lx1*lx1) , d1t (lx1*lx1)
$ , d2 (lx1*lx1) , b2p (lx1*lx1)
$ , B1iA1 (lx1*lx1) , B1iA1t (lx1*lx1)
$ , da (lx1*lx1) , dat (lx1*lx1)
$ , iggl (lx1*lxq) , igglt (lx1*lxq)
$ , dglg (lx1*lxq) , dglgt (lx1*lxq)
$ , wglg (lx1*lxq) , wglgt (lx1*lxq)
real ixd,ixdt,iggl,igglt
c