Nek5000
SEM for Incompressible NS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
wzf_mod.F90
Go to the documentation of this file.
1 
2 module wzf
3 ! Points (z) and weights (w) on velocity, pressure
4 
5 ! zgl -- velocity points on Gauss-Lobatto points i = 1,...nx
6 ! zgp -- pressure points on Gauss points i = 1,...nxp (nxp = nx-2)
7  use kinds, only : dp
8  use size_m
9  implicit none
10 
11 ! parameter (lxm = lx1)
12  integer, parameter :: lxq = lx2
13 
14  real(DP) :: zgl(lx1),wgl(lx1) &
15  , zgp(lx1),wgp(lxq)
16 
17 ! Tensor- (outer-) product of 1D weights (for volumetric integration)
18  real(DP) :: wgl1(lx1*lx1),wgl2(lxq*lxq) &
19  , wgli(lx1*lx1)
20 
21 
22 ! Frequently used derivative matrices:
23 
24 ! D1, D1t --- differentiate on mesh 1 (velocity mesh)
25 ! D2, D2t --- differentiate on mesh 2 (pressure mesh)
26 
27 ! DXd,DXdt --- differentiate from velocity mesh ONTO dealiased mesh
28 ! (currently the same as D1 and D1t...)
29 
30 
31  real(DP) :: d1 (lx1*lx1) , d1t (lx1*lx1) &
32  , d2 (lx1*lx1) , b2p (lx1*lx1) &
33  , b1ia1 (lx1*lx1) , b1ia1t (lx1*lx1) &
34  , da (lx1*lx1) , dat (lx1*lx1) &
35  , iggl (lx1*lxq) , igglt (lx1*lxq) &
36  , dglg (lx1*lxq) , dglgt (lx1*lxq) &
37  , wglg (lx1*lxq) , wglgt (lx1*lxq)
38 
39 end module wzf
cleaned
Definition: wzf_mod.F90:2