Neko  0.9.99
A portable framework for high-order spectral element flow simulations
re2.f90
Go to the documentation of this file.
1 
2 module re2
3  use num_types
4  implicit none
5 
7  integer, parameter :: re2_hdr_size = 80
8 
10  real(kind=sp), parameter :: re2_endian_test = 6.54321
11 
13  type :: re2v1_t
14  real(kind=sp) :: rgroup
15  end type re2v1_t
16 
18  type, public, extends(re2v1_t) :: re2v1_xyz_t
19  real(kind=sp), dimension(8) :: x
20  real(kind=sp), dimension(8) :: y
21  real(kind=sp), dimension(8) :: z
22  end type re2v1_xyz_t
23 
25  type, public, extends(re2v1_t) :: re2v1_xy_t
26  real(kind=sp), dimension(4) :: x
27  real(kind=sp), dimension(4) :: y
28  end type re2v1_xy_t
29 
31  type, public :: re2v1_curve_t
32  integer :: elem
33  integer :: zone
34  real(kind=sp), dimension(5) :: point
35  character(len=4) :: type
36  end type re2v1_curve_t
37 
39  type, public :: re2v1_bc_t
40  integer :: elem
41  integer :: face
42  real(kind=sp), dimension(5) :: bc_data
43  character(len=4) :: type
44  end type re2v1_bc_t
45 
47  type :: re2v2_t
48  real(kind=dp) :: rgroup
49  end type re2v2_t
50 
52  type, public, extends(re2v2_t) :: re2v2_xyz_t
53  real(kind=dp), dimension(8) :: x
54  real(kind=dp), dimension(8) :: y
55  real(kind=dp), dimension(8) :: z
56  end type re2v2_xyz_t
57 
59  type, public, extends(re2v1_t) :: re2v2_xy_t
60  real(kind=dp), dimension(4) :: x
61  real(kind=dp), dimension(4) :: y
62  end type re2v2_xy_t
63 
65  type, public :: re2v2_curve_t
66  real(kind=dp) :: elem
67  real(kind=dp) :: zone
68  real(kind=dp), dimension(5) :: point
69  character(len=8) :: type
70  end type re2v2_curve_t
71 
73  type, public :: re2v2_bc_t
74  real(kind=dp) :: elem
75  real(kind=dp) :: face
76  real(kind=dp), dimension(5) :: bc_data
77  character(len=8) :: type
78  end type re2v2_bc_t
79 
80 end module re2
integer, parameter, public dp
Definition: num_types.f90:9
integer, parameter, public sp
Definition: num_types.f90:8
Implements a point.
Definition: point.f90:35
NEKTON re2 format.
Definition: re2.f90:2
real(kind=sp), parameter re2_endian_test
NEKTION re2 endian test.
Definition: re2.f90:10
integer, parameter re2_hdr_size
NEKTON re2 header size.
Definition: re2.f90:7
NEKTON re2 bc data (version 1)
Definition: re2.f90:39
NEKTON re2 curve data (version 1)
Definition: re2.f90:31
NEKTON re2 element data (version 1)
Definition: re2.f90:13
NEKTON re2 element data (2d) (version 1)
Definition: re2.f90:25
NEKTON re2 element data (3d) (version 1)
Definition: re2.f90:18
NEKTON re2 bc data (version 2)
Definition: re2.f90:73
NEKTON re2 curve data (version 2)
Definition: re2.f90:65
NEKTON re2 element data (version 2)
Definition: re2.f90:47
NEKTON re2 element data (2d) (version 2)
Definition: re2.f90:59
NEKTON re2 element data (3d) (version 2)
Definition: re2.f90:52