|
The Open FUSION Toolkit 1.0.0-beta5
Modeling tools for plasma and fusion research and engineering
|
Perform a global dot product for vectors with a given seam structure.
| [in] | self | Seam structure for "a" and "b" |
| [in] | a | Local values for vector 1 |
| [in] | b | Local values for vector 2 |
| [out] | n | Local size of vectors |
Public Member Functions | |
| complex(c8) function | global_dp_c8 (self, a, b, n, no_reduce) |
| complex(c8) dot_product implementation of oft_stitching::oft_global_reduction | |
| real(r8) function | global_dp_r8 (self, a, b, n, no_reduce) |
| real(r8) dot_product implementation of oft_stitching::oft_global_reduction | |
| complex(c8) function global_dp_c8 | ( | type(oft_seam), intent(inout) | self, |
| complex(c8), dimension(n), intent(in) | a, | ||
| complex(c8), dimension(n), intent(in) | b, | ||
| integer(i4), intent(in) | n, | ||
| logical, intent(in), optional | no_reduce | ||
| ) |
complex(c8) dot_product implementation of oft_stitching::oft_global_reduction
| [in,out] | self | Seam structure |
| [in] | a | Local vector 1 for dot_product |
| [in] | b | Local vector 2 for dot_product |
| [in] | n | Length of local arrays |
| [in] | no_reduce | Skip global reduction step |
| real(r8) function global_dp_r8 | ( | type(oft_seam), intent(inout) | self, |
| real(r8), dimension(n), intent(in) | a, | ||
| real(r8), dimension(n), intent(in) | b, | ||
| integer(i4), intent(in) | n, | ||
| logical, intent(in), optional | no_reduce | ||
| ) |
real(r8) dot_product implementation of oft_stitching::oft_global_reduction
| [in,out] | self | Seam structure |
| [in] | a | Local vector 1 for dot_product |
| [in] | b | Local vector 2 for dot_product |
| [in] | n | Length of local arrays |
| [in] | no_reduce | Skip global reduction step |