Neko  0.8.1
A portable framework for high-order spectral element flow simulations
rea.f90
Go to the documentation of this file.
1 !
4 module rea
5  use num_types, only : dp
6  use mesh, only : mesh_t
7  implicit none
8  private
9 
10 
13  type, public :: rea_t
14  type(mesh_t) :: msh
15  real(kind=dp), allocatable :: params(:)
16  character(len=3), allocatable :: cbc(:,:)
17  end type rea_t
18 
19 
20  public :: rea_free
21 
22 contains
23 
25  subroutine rea_free(r)
26  type(rea_t), intent(inout) :: r
27 
28  call r%msh%free()
29 
30  if (allocated(r%params)) then
31  deallocate(r%params)
32  end if
33 
34  end subroutine rea_free
35 
36 
37 
38 end module rea
Defines a mesh.
Definition: mesh.f90:34
integer, parameter, public dp
Definition: num_types.f90:9
NEKTON session data.
Definition: rea.f90:4
subroutine, public rea_free(r)
Free a NEKTON session data.
Definition: rea.f90:26
NEKTON session data struct.
Definition: rea.f90:13