Nek5000
SEM for Incompressible NS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
semhat_mod.F90
Go to the documentation of this file.
1 
2 module semhat
3  use kinds, only : dp
4  use size_m
5 
6  implicit none
7  integer, parameter :: lr2 = 2*lx1*lx1
8  integer, parameter :: l3 = lx1*(lx1+1)*(lx1+2)/3
9  integer, parameter :: l2 =lx1*(lx1+1)/2
10 
11  real(DP), allocatable, dimension(:) :: ah, bh, ch, dh
12  real(DP), allocatable, dimension(:) :: dph, jph, zh, wh
13  real(DP), allocatable, dimension(:) :: bgl, zgl, dgl, jgl
14  real(DP), allocatable, dimension(:) :: dd, zp, ww
15 
16  contains
17 
18  subroutine init_semhat()
19  implicit none
20 
21  allocate(ah(lr2), bh(lr2), ch(lr2), dh(lr2))
22  allocate(dph(lr2), jph(lr2))
23  allocate(zh(lr2),wh(lr2), bgl(lr2), zgl(lr2), dgl(lr2), jgl(lr2))
24  allocate(dd(l3), zp(l2), ww(l2))
25 
26  end subroutine init_semhat
27 
28 end module semhat
subroutine init_semhat()
Definition: semhat_mod.F90:18
cleaned
Definition: semhat_mod.F90:2