ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Public Member Functions | List of all members
gatherchi_op< FPTYPE, Device > Struct Template Reference

gather chi from all processors More...

#include <sto_tool.h>

Collaboration diagram for gatherchi_op< FPTYPE, Device >:

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)
 

Detailed Description

template<typename FPTYPE, typename Device>
struct gatherchi_op< FPTYPE, Device >

gather chi from all processors

Parameters
chistochasitc wave function of this processor
chi_allgathered stochastic wave function
npwxmaximum number of plane waves on all processors
nrecv_stonumber of stochastic orbitals on each processor
displs_stodisplacement of stochastic orbitals on each processor
perbands_stonumber of stochastic bands of this processor
Returns
psi::Psi<std::complex<float>> pointer to gathered stochastic wave function

Member Function Documentation

◆ operator()()

template<typename FPTYPE , typename Device >
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 
)
Here is the call graph for this function:

The documentation for this struct was generated from the following files: