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

#include <pw_op.h>

Collaboration diagram for ModulePW::set_recip_to_real_output_op< FPTYPE, Device >:

Public Member Functions

void operator() (const int nrxx, const bool add, const FPTYPE factor, const std::complex< FPTYPE > *in, std::complex< FPTYPE > *out)
 Calculate the outputs after the FFT translation of recip_to_real.
 
void operator() (const int nrxx, const bool add, const FPTYPE factor, const std::complex< FPTYPE > *in, FPTYPE *out)
 

Member Function Documentation

◆ operator()() [1/2]

template<typename FPTYPE , typename Device >
void ModulePW::set_recip_to_real_output_op< FPTYPE, Device >::operator() ( const int  nrxx,
const bool  add,
const FPTYPE  factor,
const std::complex< FPTYPE > *  in,
FPTYPE *  out 
)

◆ operator()() [2/2]

template<typename FPTYPE , typename Device >
void ModulePW::set_recip_to_real_output_op< FPTYPE, Device >::operator() ( const int  nrxx,
const bool  add,
const FPTYPE  factor,
const std::complex< FPTYPE > *  in,
std::complex< FPTYPE > *  out 
)

Calculate the outputs after the FFT translation of recip_to_real.

Input Parameters

Parameters
dev- which device this function runs on
nrxx- size of array
add- flag to control whether to add the input itself
in- input psi within a 1D array(in real space)

Output Parameters

Parameters
out- output psi within the 3D box(in real space)

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