ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
exx_batch_op.cpp File Reference
#include "source_pw/module_pwdft/kernels/exx_batch_op.h"
#include <fftw3.h>
Include dependency graph for exx_batch_op.cpp:

Namespaces

namespace  hamilt

Macros

#define EXX_BATCH_INSTANTIATE(T, Real, DEV)

Functions

template<typename T, typename Device>
void hamilt::exx_batch_density_real (const int nbands, const int nrxx, const T *nk_real_all, const T *mq_real, const double omega, T *out)
template<typename T, typename Device>
void hamilt::exx_batch_gather_pw (const int nbands, const int npw, const int nxyz, const int *box_map, const T *box, T *pw)
template<typename T, typename Real, typename Device>
void hamilt::exx_batch_mul_pot (const int nbands, const int npw, const Real *pot, T *pw)
template<typename T, typename Device>
void hamilt::exx_batch_scatter_pw (const int nbands, const int npw, const int nxyz, const int *box_map, const T *pw, T *box)
template<typename T, typename Device>
void hamilt::exx_batch_mul_real (const int nbands, const int nrxx, const T *mq_real, T *data)
template<typename T, typename Real, typename Device>
void hamilt::exx_batch_gather_accum (const int nbands, const int npwk, const int nxyz, const int *box_map, const T *box, const Real factor, T *out, const int out_stride)
template<typename T, typename Device>
void hamilt::exx_batch_scatter_wfc (const int nbands, const int npwk, const int nxyz, const int *map, const T *psi, const int psi_stride, T *box)

Macro Definition Documentation

◆ EXX_BATCH_INSTANTIATE

#define EXX_BATCH_INSTANTIATE ( T,
Real,
DEV )
Value:
template void exx_batch_density_real<T, DEV>(int, int, const T *, const T *, double, T *); \
template void exx_batch_gather_pw<T, DEV>(int, int, int, const int *, const T *, T *); \
template void exx_batch_mul_pot<T, Real, DEV>(int, int, const Real *, T *); \
template void exx_batch_scatter_pw<T, DEV>(int, int, int, const int *, const T *, T *); \
template void exx_batch_mul_real<T, DEV>(int, int, const T *, T *); \
template void exx_batch_gather_accum<T, Real, DEV>(int, int, int, const int *, const T *, Real, T *, int); \
template void exx_batch_scatter_wfc<T, DEV>(int, int, int, const int *, const T *, int, T *);
#define T
Definition exp.cpp:237