Loading [MathJax]/extensions/tex2jax.js
Neko 0.9.99
A portable framework for high-order spectral element flow simulations
All Classes Namespaces Files Functions Variables Typedefs Enumerator Macros Pages
gather_scatter.f90 File Reference

Go to the source code of this file.

Data Types

type  gather_scatter::gs_t
 

Modules

module  gather_scatter
 Gather-scatter.
 

Functions/Subroutines

subroutine gather_scatter::gs_init (gs, dofmap, bcknd, comm_bcknd)
 Initialize a gather-scatter kernel.
 
subroutine gather_scatter::gs_free (gs)
 Deallocate a gather-scatter kernel.
 
subroutine gather_scatter::gs_init_mapping (gs)
 Setup mapping of dofs to gather-scatter operations.
 
integer function gs_mapping_add_dof (map_, dof, max_id)
 Register a unique dof Takes the unique id dof and checks if it is in the htable map_ If it is we return the gather-scatter id this global dof has been assigned to. This is done as the global id can be very large max(integer8), but the number of local points is at most max(integer4)
 
recursive subroutine gs_qsort_dofmap (dg, gd, n, lo, hi)
 Sort the dof lists based on the dof to gather-scatter list.
 
subroutine gs_find_blks (dg, blk_len, nblks, n, m)
 Find blocks sharing dofs in non-facet data.
 
subroutine gather_scatter::gs_schedule (gs)
 Schedule shared gather-scatter operations.
 
subroutine gather_scatter::gs_op_fld (gs, u, op, event)
 Gather-scatter operation on a field u with op op.
 
subroutine gather_scatter::gs_op_r4 (gs, u, n, op, event)
 Gather-scatter operation on a rank 4 array.
 
subroutine gather_scatter::gs_op_vector (gs, u, n, op, event)
 Gather-scatter operation on a vector u with op op.
 

Function/Subroutine Documentation

◆ gs_find_blks()

subroutine gs_init_mapping::gs_find_blks ( integer, dimension(n), intent(inout dg,
integer, dimension(:), intent(inout), allocatable  blk_len,
integer, intent(inout nblks,
integer, intent(in n,
integer, intent(in m 
)
private

Definition at line 1188 of file gather_scatter.f90.

Here is the caller graph for this function:

◆ gs_mapping_add_dof()

integer function gs_init_mapping::gs_mapping_add_dof ( type(htable_i8_t), intent(inout map_,
integer(kind=i8), intent(inout dof,
integer, intent(inout max_id 
)
private
Parameters
map_,htableof global unique id to local unique id
dof,globalunique id of dof
max_id,currentnumber of entries in map_

Definition at line 1131 of file gather_scatter.f90.

Here is the caller graph for this function:

◆ gs_qsort_dofmap()

recursive subroutine gs_init_mapping::gs_qsort_dofmap ( integer, dimension(n), intent(inout dg,
integer, dimension(n), intent(inout gd,
integer, intent(inout n,
integer  lo,
integer  hi 
)
private

Definition at line 1146 of file gather_scatter.f90.

Here is the call graph for this function:
Here is the caller graph for this function: