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

Public Member Functions

procedure, pass(gsgs_op_vector (gs, u, n, op, event)
 Gather-scatter operation on a vector u with op op.
 
procedure, pass(gsinit (gs, dofmap, bcknd, comm_bcknd)
 Initialize a gather-scatter kernel.
 
procedure, pass(gsfree (gs)
 Deallocate a gather-scatter kernel.
 
generic op (gs, u, op, event)
 Gather-scatter operation on a field u with op op.
 
generic op (gs, u, n, op, event)
 Gather-scatter operation on a rank 4 array.
 
generic op (gs, u, n, op, event)
 Gather-scatter operation on a vector u with op op.
 

Public Attributes

real(kind=rp), dimension(:), allocatable local_gs
 Buffer for local gs-ops.
 
integer, dimension(:), allocatable local_dof_gs
 Local dof to gs mapping.
 
integer, dimension(:), allocatable local_gs_dof
 Local gs to dof mapping.
 
integer, dimension(:), allocatable local_blk_len
 Local non-facet blocks.
 
real(kind=rp), dimension(:), allocatable shared_gs
 Buffer for shared gs-op.
 
integer, dimension(:), allocatable shared_dof_gs
 Shared dof to gs map.
 
integer, dimension(:), allocatable shared_gs_dof
 Shared gs to dof map.
 
integer, dimension(:), allocatable shared_blk_len
 Shared non-facet blocks.
 
type(dofmap_t), pointer dofmap
 Dofmap for gs-ops.
 
type(htable_i8_tshared_dofs
 Htable of shared dofs.
 
integer nlocal
 Local gs-ops.
 
integer nshared
 Shared gs-ops.
 
integer nlocal_blks
 Number of local blks.
 
integer nshared_blks
 Number of shared blks.
 
integer local_facet_offset
 offset for loc. facets
 
integer shared_facet_offset
 offset for shr. facets
 
class(gs_bcknd_t), allocatable bcknd
 Gather-scatter backend.
 
class(gs_comm_t), allocatable comm
 Comm. method.
 

Private Member Functions

procedure, pass(gs), private gs_op_fld (gs, u, op, event)
 Gather-scatter operation on a field u with op op.
 
procedure, pass(gs), private gs_op_r4 (gs, u, n, op, event)
 Gather-scatter operation on a rank 4 array.
 

Detailed Description

Definition at line 58 of file gather_scatter.f90.

Member Function/Subroutine Documentation

◆ free()

procedure, pass(gs) gather_scatter::gs_t::free ( class(gs_t), intent(inout gs)

Definition at line 82 of file gather_scatter.f90.

◆ gs_op_fld()

procedure, pass(gs), private gather_scatter::gs_t::gs_op_fld ( class(gs_t), intent(inout gs,
type(field_t), intent(inout u,
integer  op,
type(c_ptr), intent(inout), optional  event 
)
private

Definition at line 78 of file gather_scatter.f90.

◆ gs_op_r4()

procedure, pass(gs), private gather_scatter::gs_t::gs_op_r4 ( class(gs_t), intent(inout gs,
real(kind=rp), dimension(:,:,:,:), intent(inout), contiguous  u,
integer, intent(in n,
integer  op,
type(c_ptr), intent(inout), optional  event 
)
private

Definition at line 79 of file gather_scatter.f90.

◆ gs_op_vector()

procedure, pass(gs) gather_scatter::gs_t::gs_op_vector ( class(gs_t), intent(inout gs,
real(kind=rp), dimension(n), intent(inout u,
integer, intent(in n,
integer  op,
type(c_ptr), intent(inout), optional  event 
)

Definition at line 80 of file gather_scatter.f90.

◆ init()

procedure, pass(gs) gather_scatter::gs_t::init ( class(gs_t), intent(inout gs,
type(dofmap_t), intent(inout), target  dofmap,
integer, optional  bcknd,
integer, optional  comm_bcknd 
)

Definition at line 81 of file gather_scatter.f90.

◆ op() [1/3]

generic gather_scatter::gs_t::op ( class(gs_t), intent(inout gs,
real(kind=rp), dimension(:,:,:,:), intent(inout), contiguous  u,
integer, intent(in n,
integer  op,
type(c_ptr), intent(inout), optional  event 
)

Definition at line 83 of file gather_scatter.f90.

◆ op() [2/3]

generic gather_scatter::gs_t::op ( class(gs_t), intent(inout gs,
real(kind=rp), dimension(n), intent(inout u,
integer, intent(in n,
integer  op,
type(c_ptr), intent(inout), optional  event 
)

Definition at line 83 of file gather_scatter.f90.

◆ op() [3/3]

generic gather_scatter::gs_t::op ( class(gs_t), intent(inout gs,
type(field_t), intent(inout u,
integer  op,
type(c_ptr), intent(inout), optional  event 
)

Definition at line 83 of file gather_scatter.f90.

Here is the call graph for this function:

Member Data Documentation

◆ bcknd

class(gs_bcknd_t), allocatable gather_scatter::gs_t::bcknd

Definition at line 75 of file gather_scatter.f90.

◆ comm

class(gs_comm_t), allocatable gather_scatter::gs_t::comm

Definition at line 76 of file gather_scatter.f90.

◆ dofmap

type(dofmap_t), pointer gather_scatter::gs_t::dofmap

Definition at line 67 of file gather_scatter.f90.

◆ local_blk_len

integer, dimension(:), allocatable gather_scatter::gs_t::local_blk_len

Definition at line 62 of file gather_scatter.f90.

◆ local_dof_gs

integer, dimension(:), allocatable gather_scatter::gs_t::local_dof_gs

Definition at line 60 of file gather_scatter.f90.

◆ local_facet_offset

integer gather_scatter::gs_t::local_facet_offset

Definition at line 73 of file gather_scatter.f90.

◆ local_gs

real(kind=rp), dimension(:), allocatable gather_scatter::gs_t::local_gs

Definition at line 59 of file gather_scatter.f90.

◆ local_gs_dof

integer, dimension(:), allocatable gather_scatter::gs_t::local_gs_dof

Definition at line 61 of file gather_scatter.f90.

◆ nlocal

integer gather_scatter::gs_t::nlocal

Definition at line 69 of file gather_scatter.f90.

◆ nlocal_blks

integer gather_scatter::gs_t::nlocal_blks

Definition at line 71 of file gather_scatter.f90.

◆ nshared

integer gather_scatter::gs_t::nshared

Definition at line 70 of file gather_scatter.f90.

◆ nshared_blks

integer gather_scatter::gs_t::nshared_blks

Definition at line 72 of file gather_scatter.f90.

◆ shared_blk_len

integer, dimension(:), allocatable gather_scatter::gs_t::shared_blk_len

Definition at line 66 of file gather_scatter.f90.

◆ shared_dof_gs

integer, dimension(:), allocatable gather_scatter::gs_t::shared_dof_gs

Definition at line 64 of file gather_scatter.f90.

◆ shared_dofs

type(htable_i8_t) gather_scatter::gs_t::shared_dofs

Definition at line 68 of file gather_scatter.f90.

◆ shared_facet_offset

integer gather_scatter::gs_t::shared_facet_offset

Definition at line 74 of file gather_scatter.f90.

◆ shared_gs

real(kind=rp), dimension(:), allocatable gather_scatter::gs_t::shared_gs

Definition at line 63 of file gather_scatter.f90.

◆ shared_gs_dof

integer, dimension(:), allocatable gather_scatter::gs_t::shared_gs_dof

Definition at line 65 of file gather_scatter.f90.


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