Neko 0.9.99
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
map_2d::map_2d_t Type Reference
Collaboration diagram for map_2d::map_2d_t:

Public Member Functions

procedure, pass(thisinit_int (this, coef, dir, tol)
 
procedure, pass(thisinit_char (this, coef, dir, tol)
 
generic init (this, coef, dir, tol)
 
generic init (this, coef, dir, tol)
 
procedure, pass(thisaverage_file (this, fld_data2d, fld_data3d)
 Computes average if field list in one direction and outputs 2D field with averaged values.
 
procedure, pass(thisaverage_list (this, fld_data2d, fld_data3d)
 Computes average if field list in one direction and outputs 2D field with averaged values.
 
generic average (this, fld_data2d, fld_data3d)
 Computes average if field list in one direction and outputs 2D field with averaged values.
 
generic average (this, fld_data2d, fld_data3d)
 Computes average if field list in one direction and outputs 2D field with averaged values.
 

Public Attributes

integer nelv_2d = 0
 Number of elements in 2D mesh on this rank.
 
integer glb_nelv_2d = 0
 global number of elements in 2d
 
integer offset_el_2d = 0
 element offset for this rank
 
integer lxy = 0
 number of gll points per 2D element
 
integer n_2d = 0
 total number of gll points (nelv_2d*lxy)
 
integer, dimension(:), allocatable idx_2d
 Mapping of GLL point from 3D to 2D.
 
integer, dimension(:), allocatable el_idx_2d
 Mapping of element in 3D to 2D.
 
type(map_1d_tmap_1d
 1D map in normal direction to 2D plane
 
type(mesh_t), pointer msh
 3D mesh
 
type(dofmap_t), pointer dof => null()
 3D dofmap
 
type(coef_t), pointer coef => null()
 3D SEM coefs
 
type(field_tu
 Work array 1, naming based on when they are used.
 
type(field_told_u
 Work array 2.
 
type(field_tavg_u
 Work array 3.
 
type(field_tel_heights
 Weight elements by their size in integral.
 
integer dir
 direction normal to 2D plane
 
real(kind=rp) domain_height
 total height of 3D domain
 

Detailed Description

Definition at line 25 of file map_2d.f90.

Member Function/Subroutine Documentation

◆ average() [1/2]

generic map_2d::map_2d_t::average ( class(map_2d_t), intent(inout this,
type(fld_file_data_t), intent(inout fld_data2d,
type(field_list_t), intent(inout fld_data3d 
)
Parameters
fld_data2Doutput 2D averages
field_listlist of fields to be averaged

Definition at line 49 of file map_2d.f90.

◆ average() [2/2]

generic map_2d::map_2d_t::average ( class(map_2d_t), intent(inout this,
type(fld_file_data_t), intent(inout fld_data2d,
type(fld_file_data_t), intent(inout fld_data3d 
)
Parameters
fld_data2Doutput 2D averages
fld_data3Dfld_file_data of fields to be averaged

Definition at line 49 of file map_2d.f90.

◆ average_file()

procedure, pass(this) map_2d::map_2d_t::average_file ( class(map_2d_t), intent(inout this,
type(fld_file_data_t), intent(inout fld_data2d,
type(fld_file_data_t), intent(inout fld_data3d 
)
Parameters
fld_data2Doutput 2D averages
fld_data3Dfld_file_data of fields to be averaged

Definition at line 47 of file map_2d.f90.

◆ average_list()

procedure, pass(this) map_2d::map_2d_t::average_list ( class(map_2d_t), intent(inout this,
type(fld_file_data_t), intent(inout fld_data2d,
type(field_list_t), intent(inout fld_data3d 
)
Parameters
fld_data2Doutput 2D averages
field_listlist of fields to be averaged

Definition at line 48 of file map_2d.f90.

◆ init() [1/2]

generic map_2d::map_2d_t::init ( class(map_2d_t), intent(inout this,
type(coef_t), intent(inout), target  coef,
integer, intent(in dir,
real(kind=rp), intent(in tol 
)

Definition at line 46 of file map_2d.f90.

◆ init() [2/2]

generic map_2d::map_2d_t::init ( class(map_2d_t this,
type(coef_t), intent(inout), target  coef,
character(len=*), intent(in dir,
real(kind=rp), intent(in tol 
)

Definition at line 46 of file map_2d.f90.

◆ init_char()

procedure, pass(this) map_2d::map_2d_t::init_char ( class(map_2d_t this,
type(coef_t), intent(inout), target  coef,
character(len=*), intent(in dir,
real(kind=rp), intent(in tol 
)

Definition at line 45 of file map_2d.f90.

◆ init_int()

procedure, pass(this) map_2d::map_2d_t::init_int ( class(map_2d_t), intent(inout this,
type(coef_t), intent(inout), target  coef,
integer, intent(in dir,
real(kind=rp), intent(in tol 
)

Definition at line 44 of file map_2d.f90.

Member Data Documentation

◆ avg_u

type(field_t) map_2d::map_2d_t::avg_u

Definition at line 39 of file map_2d.f90.

◆ coef

type(coef_t), pointer map_2d::map_2d_t::coef => null()

Definition at line 36 of file map_2d.f90.

◆ dir

integer map_2d::map_2d_t::dir

Definition at line 41 of file map_2d.f90.

◆ dof

type(dofmap_t), pointer map_2d::map_2d_t::dof => null()

Definition at line 35 of file map_2d.f90.

◆ domain_height

real(kind=rp) map_2d::map_2d_t::domain_height

Definition at line 42 of file map_2d.f90.

◆ el_heights

type(field_t) map_2d::map_2d_t::el_heights

Definition at line 40 of file map_2d.f90.

◆ el_idx_2d

integer, dimension(:), allocatable map_2d::map_2d_t::el_idx_2d

Definition at line 32 of file map_2d.f90.

◆ glb_nelv_2d

integer map_2d::map_2d_t::glb_nelv_2d = 0

Definition at line 27 of file map_2d.f90.

◆ idx_2d

integer, dimension(:), allocatable map_2d::map_2d_t::idx_2d

Definition at line 31 of file map_2d.f90.

◆ lxy

integer map_2d::map_2d_t::lxy = 0

Definition at line 29 of file map_2d.f90.

◆ map_1d

type(map_1d_t) map_2d::map_2d_t::map_1d

Definition at line 33 of file map_2d.f90.

◆ msh

type(mesh_t), pointer map_2d::map_2d_t::msh

Definition at line 34 of file map_2d.f90.

◆ n_2d

integer map_2d::map_2d_t::n_2d = 0

Definition at line 30 of file map_2d.f90.

◆ nelv_2d

integer map_2d::map_2d_t::nelv_2d = 0

Definition at line 26 of file map_2d.f90.

◆ offset_el_2d

integer map_2d::map_2d_t::offset_el_2d = 0

Definition at line 28 of file map_2d.f90.

◆ old_u

type(field_t) map_2d::map_2d_t::old_u

Definition at line 38 of file map_2d.f90.

◆ u

type(field_t) map_2d::map_2d_t::u

Definition at line 37 of file map_2d.f90.


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