Neko 1.99.11
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
nmsh.f90
Go to the documentation of this file.
1!> Neko binary mesh format
2module nmsh
3 use num_types, only : dp
4 implicit none
5 private
6
7 !> Neko binary mesh element data
8 type, private :: nmsh_t
9 integer :: el_idx !< Element id (global)
10 end type nmsh_t
11
12 !> Neko binary mesh vertex data
13 type, private :: nmsh_vertex_t
14 integer :: v_idx !< Vertex id (global)
15 real(kind=dp), dimension(3) :: v_xyz ! Vertex coordinates
16 end type nmsh_vertex_t
17
18 !> Neko quad element data
19 type, public, extends(nmsh_t) :: nmsh_quad_t
20 type(nmsh_vertex_t), dimension(4) :: v !< List of vertices
21 end type nmsh_quad_t
22
23 !> Neko hex element data
24 type, public, extends(nmsh_t) :: nmsh_hex_t
25 type(nmsh_vertex_t), dimension(8) :: v !< List of vertices
26 end type nmsh_hex_t
27
28 !> Neko zone data
29 type, public :: nmsh_zone_t
30 integer :: e !< Element id (global)
31 integer :: f !< Facet number
32 integer :: p_e !< Perio dic connection (element)
33 integer :: p_f !< Periodic connection (facet)
34 integer, dimension(4) :: glb_pt_ids !< Global point ids
35 integer :: type !< Zone type
36 end type nmsh_zone_t
37
38 !> Neko curve data
39 type, public :: nmsh_curve_el_t
40 integer :: e !< Element id (global)
41 real(kind=dp), dimension(5,12) :: curve_data !< Save 6 values for each edge
42 integer, dimension(12) :: type !< type of curve for each edge
43 end type nmsh_curve_el_t
44
45
46end module nmsh
47
Neko binary mesh format.
Definition nmsh.f90:2
integer, parameter, public dp
Definition num_types.f90:10
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