The Open FUSION Toolkit 1.0.0-beta5
Modeling tools for plasma and fusion research and engineering
Loading...
Searching...
No Matches
Public Member Functions | List of all members
oft_global_reduction Interface Reference

Detailed Description

Perform a global sum reduction for a vector with a given seam structure.

Parameters
[in]selfSeam structure for vector "a"
[in]aLocal values for vector
[out]nLocal size of vector
Returns
\( \sum_i a_i \)

Public Member Functions

complex(c8) function global_reduction_c8 (self, a, n)
 complex(c8) array implementation of oft_stitching::oft_global_reduction
 
real(r8) function global_reduction_r8 (self, a, n)
 real(r8) array implementation of oft_stitching::oft_global_reduction
 

Member Function/Subroutine Documentation

◆ global_reduction_c8()

complex(c8) function global_reduction_c8 ( type(oft_seam), intent(inout)  self,
complex(c8), dimension(n), intent(in)  a,
integer(i4), intent(in)  n 
)

complex(c8) array implementation of oft_stitching::oft_global_reduction

Parameters
[in,out]selfSeam structure
[in]aLocal data for reduction
[in]nLength of local array for reduction

◆ global_reduction_r8()

real(r8) function global_reduction_r8 ( type(oft_seam), intent(inout)  self,
real(r8), dimension(n), intent(in)  a,
integer(i4), intent(in)  n 
)

real(r8) array implementation of oft_stitching::oft_global_reduction

Parameters
[in,out]selfSeam structure
[in]aLocal data for reduction
[in]nLength of local array for reduction

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