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

Detailed Description

Perform a SUM/AND reduction over all processors.

Public Member Functions

complex(r8) function oft_mpi_sumc (a)
 complex(c8) scalar implementation of global SUM reduction
 
complex(c8) function, dimension(n) oft_mpi_sumca (a, n)
 complex(c8) array implementation of element-wise global SUM reduction
 
integer(i4) function oft_mpi_sumi4 (a)
 integer(i4) scalar implementation of global SUM reduction
 
integer(i4) function, dimension(n) oft_mpi_sumi4a (a, n)
 integer(i4) array implementation of element-wise global SUM reduction
 
integer(i8) function oft_mpi_sumi8 (a)
 integer(i8) scalar implementation of global SUM reduction
 
integer(i8) function, dimension(n) oft_mpi_sumi8a (a, n)
 integer(i8) array implementation of element-wise global SUM reduction
 
real(r8) function oft_mpi_sumr (a)
 real(r8) scalar implementation of global SUM reduction
 
real(r8) function, dimension(n) oft_mpi_sumra (a, n)
 real(r8) array implementation of element-wise global SUM reduction
 

Member Function/Subroutine Documentation

◆ oft_mpi_sumc()

complex(r8) function oft_mpi_sumc ( complex(r8), intent(in)  a)

complex(c8) scalar implementation of global SUM reduction

Returns
\( sum(a) \) over all processors
Parameters
[in]aLocal value for SUM

◆ oft_mpi_sumca()

complex(c8) function, dimension(n) oft_mpi_sumca ( complex(c8), dimension(n), intent(in)  a,
integer(i4), intent(in)  n 
)

complex(c8) array implementation of element-wise global SUM reduction

Returns
\( sum(a) \) over all processors
Parameters
[in]aLocal values for SUM [n]
[in]nLength of array for reduction

◆ oft_mpi_sumi4()

integer(i4) function oft_mpi_sumi4 ( integer(i4), intent(in)  a)

integer(i4) scalar implementation of global SUM reduction

Returns
\( sum(a) \) over all processors
Parameters
[in]aLocal value for SUM

◆ oft_mpi_sumi4a()

integer(i4) function, dimension(n) oft_mpi_sumi4a ( integer(i4), dimension(n), intent(in)  a,
integer(i4), intent(in)  n 
)

integer(i4) array implementation of element-wise global SUM reduction

Returns
\( sum(a) \) over all processors
Parameters
[in]aLocal values for SUM [n]
[in]nLength of array for reduction

◆ oft_mpi_sumi8()

integer(i8) function oft_mpi_sumi8 ( integer(i8), intent(in)  a)

integer(i8) scalar implementation of global SUM reduction

Returns
\( sum(a) \) over all processors
Parameters
[in]aLocal value for SUM

◆ oft_mpi_sumi8a()

integer(i8) function, dimension(n) oft_mpi_sumi8a ( integer(i8), dimension(n), intent(in)  a,
integer(i4), intent(in)  n 
)

integer(i8) array implementation of element-wise global SUM reduction

Returns
\( sum(a) \) over all processors
Parameters
[in]aLocal values for SUM [n]
[in]nLength of array for reduction

◆ oft_mpi_sumr()

real(r8) function oft_mpi_sumr ( real(r8), intent(in)  a)

real(r8) scalar implementation of global SUM reduction

Returns
\( sum(a) \) over all processors
Parameters
[in]aLocal value for SUM

◆ oft_mpi_sumra()

real(r8) function, dimension(n) oft_mpi_sumra ( real(r8), dimension(n), intent(in)  a,
integer(i4), intent(in)  n 
)

real(r8) array implementation of element-wise global SUM reduction

Returns
\( sum(a) \) over all processors
Parameters
[in]aLocal values for SUM [n]
[in]nLength of array for reduction

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