Neko  0.8.1
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 => map_1d_init
 Constructor. More...
 
procedure, pass(this) free => map_1d_free
 Destructor. More...
 

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...
 
type(dofmap_t), pointer dof => null()
 Dofmap. 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...
 

Detailed Description

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

Remarks
Could also be rather easily extended to say polar coordinates as well.

Definition at line 21 of file map_1d.f90.

Member Function/Subroutine Documentation

◆ free()

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

Destructor.

Definition at line 42 of file map_1d.f90.

◆ init()

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

Constructor.

Definition at line 40 of file map_1d.f90.

Member Data Documentation

◆ dir

integer map_1d::map_1d_t::dir

The specified direction in which we create the 1D mapping.

Definition at line 35 of file map_1d.f90.

◆ dir_el

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

Checks whether the specified direction is in the r,s, or t direction for each element.

Definition at line 23 of file map_1d.f90.

◆ dof

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

Dofmap.

Definition at line 31 of file map_1d.f90.

◆ el_lvl

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

Checks which level an element belongs to.

Definition at line 25 of file map_1d.f90.

◆ msh

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

Mesh.

Definition at line 33 of file map_1d.f90.

◆ n_el_lvls

integer map_1d::map_1d_t::n_el_lvls

Number of elements stacked on top of eachother in the specified direction.

Definition at line 29 of file map_1d.f90.

◆ pt_lvl

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

Checks which level or id in the 1D GLL mapping each point in the dofmap is.

Definition at line 27 of file map_1d.f90.

◆ tol

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

Tolerance for the mesh.

Definition at line 37 of file map_1d.f90.


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