#include <math_kernel_op.h>
|
Real | operator() (const int &dim, const T *psi_L, const T *psi_R, const bool reduce=true) |
| dot_real_op computes the dot product of the given complex arrays(treated as float arrays). And there's may have MPI communications while enabling planewave parallization strategy.
|
|
◆ Real
template<typename
T , typename Device >
◆ operator()()
template<typename
T , typename Device >
dot_real_op computes the dot product of the given complex arrays(treated as float arrays). And there's may have MPI communications while enabling planewave parallization strategy.
Input Parameters
- Parameters
-
dim | : array size |
psi_L | : input array A |
psi_R | : input array B |
reduce | : flag to control whether to perform the MPI communications |
- Returns
- FPTYPE : dot product result
The documentation for this struct was generated from the following file:
- /home/runner/work/abacus-develop/abacus-develop/source/source_base/kernels/math_kernel_op.h