Neko  0.9.99
A portable framework for high-order spectral element flow simulations
nmsh.f90
Go to the documentation of this file.
1 
2 module nmsh
3  use num_types, only : dp
4  implicit none
5  private
6 
8  type, private :: nmsh_t
9  integer :: el_idx
10  end type nmsh_t
11 
13  type, private :: nmsh_vertex_t
14  integer :: v_idx
15  real(kind=dp), dimension(3) :: v_xyz ! Vertex coordinates
16  end type nmsh_vertex_t
17 
19  type, public, extends(nmsh_t) :: nmsh_quad_t
20  type(nmsh_vertex_t), dimension(4) :: v
21  end type nmsh_quad_t
22 
24  type, public, extends(nmsh_t) :: nmsh_hex_t
25  type(nmsh_vertex_t), dimension(8) :: v
26  end type nmsh_hex_t
27 
29  type, public :: nmsh_zone_t
30  integer :: e
31  integer :: f
32  integer :: p_e
33  integer :: p_f
34  integer, dimension(4) :: glb_pt_ids
35  integer :: type
36  end type nmsh_zone_t
37 
39  type, public :: nmsh_curve_el_t
40  integer :: e
41  real(kind=dp), dimension(5,12) :: curve_data
42  integer, dimension(12) :: type
43  end type nmsh_curve_el_t
44 
45 
46 end module nmsh
47 
Neko binary mesh format.
Definition: nmsh.f90:2
integer, parameter, public dp
Definition: num_types.f90:9
Neko curve data.
Definition: nmsh.f90:39
Neko hex element data.
Definition: nmsh.f90:24
Neko quad element data.
Definition: nmsh.f90:19
Neko binary mesh element data.
Definition: nmsh.f90:8
Neko binary mesh vertex data.
Definition: nmsh.f90:13
Neko zone data.
Definition: nmsh.f90:29