Neko  0.9.99
A portable framework for high-order spectral element flow simulations
map_1d::map_1d_t Type Reference

Type that encapsulates a mapping from each gll point in the mesh to its corresponding (global) GLL point index in one direction. More...

Collaboration diagram for map_1d::map_1d_t:

Public Member Functions

procedure, pass(this) init_int => map_1d_init
 Constructor. More...
 
procedure, pass(this) init_char => map_1d_init_char
 
generic init => init_int, init_char
 
procedure, pass(this) free => map_1d_free
 Destructor. More...
 
procedure, pass(this) average_planes_fld_lst => map_1d_average_field_list
 Average field list along planes. More...
 
procedure, pass(this) average_planes_vec_ptr => map_1d_average_vector_ptr
 
generic average_planes => average_planes_fld_lst, average_planes_vec_ptr
 

Public Attributes

integer, dimension(:), allocatable dir_el
 Checks whether the specified direction is in the r,s, or t direction for each element. More...
 
integer, dimension(:), allocatable el_lvl
 Checks which level an element belongs to. More...
 
integer, dimension(:,:,:,:), allocatable pt_lvl
 Checks which level or id in the 1D GLL mapping each point in the dofmap is. More...
 
integer n_el_lvls
 Number of elements stacked on top of eachother in the specified direction. More...
 
integer n_gll_lvls
 Number of total gll levels. More...
 
type(dofmap_t), pointer dof => null()
 Dofmap Dofmap. More...
 
type(coef_t), pointer coef => null()
 SEM coefs. More...
 
type(mesh_t), pointer msh => null()
 Mesh. More...
 
integer dir
 The specified direction in which we create the 1D mapping. More...
 
real(kind=rp) tol = 1e-7
 Tolerance for the mesh. More...
 
real(kind=rp), dimension(:), allocatable volume_per_gll_lvl
 Volume per level in the 1d grid. More...
 

Detailed Description

Remarks
Could also be rather easily extended to say polar coordinates as well ( I think). Martin Karp

Definition at line 26 of file map_1d.f90.

Member Function/Subroutine Documentation

◆ average_planes()

generic map_1d::map_1d_t::average_planes

Definition at line 63 of file map_1d.f90.

◆ average_planes_fld_lst()

procedure, pass(this) map_1d::map_1d_t::average_planes_fld_lst

Definition at line 60 of file map_1d.f90.

◆ average_planes_vec_ptr()

procedure, pass(this) map_1d::map_1d_t::average_planes_vec_ptr

Definition at line 62 of file map_1d.f90.

◆ free()

procedure, pass(this) map_1d::map_1d_t::free

Definition at line 58 of file map_1d.f90.

◆ init()

generic map_1d::map_1d_t::init

Definition at line 56 of file map_1d.f90.

◆ init_char()

procedure, pass(this) map_1d::map_1d_t::init_char

Definition at line 55 of file map_1d.f90.

◆ init_int()

procedure, pass(this) map_1d::map_1d_t::init_int

Definition at line 53 of file map_1d.f90.

Member Data Documentation

◆ coef

type(coef_t), pointer map_1d::map_1d_t::coef => null()

Definition at line 42 of file map_1d.f90.

◆ dir

integer map_1d::map_1d_t::dir

Definition at line 46 of file map_1d.f90.

◆ dir_el

integer, dimension(:), allocatable map_1d::map_1d_t::dir_el

Definition at line 29 of file map_1d.f90.

◆ dof

type(dofmap_t), pointer map_1d::map_1d_t::dof => null()

Definition at line 40 of file map_1d.f90.

◆ el_lvl

integer, dimension(:), allocatable map_1d::map_1d_t::el_lvl

Definition at line 31 of file map_1d.f90.

◆ msh

type(mesh_t), pointer map_1d::map_1d_t::msh => null()

Definition at line 44 of file map_1d.f90.

◆ n_el_lvls

integer map_1d::map_1d_t::n_el_lvls

Definition at line 35 of file map_1d.f90.

◆ n_gll_lvls

integer map_1d::map_1d_t::n_gll_lvls

Definition at line 37 of file map_1d.f90.

◆ pt_lvl

integer, dimension(:,:,:,:), allocatable map_1d::map_1d_t::pt_lvl

Definition at line 33 of file map_1d.f90.

◆ tol

real(kind=rp) map_1d::map_1d_t::tol = 1e-7

Definition at line 48 of file map_1d.f90.

◆ volume_per_gll_lvl

real(kind=rp), dimension(:), allocatable map_1d::map_1d_t::volume_per_gll_lvl

Definition at line 50 of file map_1d.f90.


The documentation for this type was generated from the following file: