ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
gather chi from all processors More...
#include <sto_tool.h>
Public Member Functions | |
psi::Psi< std::complex< FPTYPE >, Device > * | operator() (psi::Psi< std::complex< FPTYPE >, Device > &chi, psi::Psi< std::complex< FPTYPE >, Device > &chi_all, const int &npwx, int *nrecv_sto, int *displs_sto, const int perbands_sto) |
gather chi from all processors
chi | stochasitc wave function of this processor |
chi_all | gathered stochastic wave function |
npwx | maximum number of plane waves on all processors |
nrecv_sto | number of stochastic orbitals on each processor |
displs_sto | displacement of stochastic orbitals on each processor |
perbands_sto | number of stochastic bands of this processor |
psi::Psi< std::complex< FPTYPE >, Device > * gatherchi_op< FPTYPE, Device >::operator() | ( | psi::Psi< std::complex< FPTYPE >, Device > & | chi, |
psi::Psi< std::complex< FPTYPE >, Device > & | chi_all, | ||
const int & | npwx, | ||
int * | nrecv_sto, | ||
int * | displs_sto, | ||
const int | perbands_sto | ||
) |