ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
xc_functional_op.h
Go to the documentation of this file.
1#ifndef source_hamilt_MODULE_XC_KERNELS_H_
2#define source_hamilt_MODULE_XC_KERNELS_H_
3
4#include <complex>
7
8namespace hamilt
9{
10
11template <typename T, typename Device>
13{
14 using Real = typename GetTypeReal<T>::type;
15 void operator()(
16 const int &ik,
17 const int &pol,
18 const int &npw,
19 const int &npwx,
20 const Real &tpiba,
21 const Real *gcar,
22 const Real *kvec_c,
23 const T *rhog,
24 T *porter);
25
26 void operator()(
27 const int &ipol,
28 const int &nrxx,
29 const T *porter,
30 T *grad);
31};
32
33} // namespace hamilt
34#endif // source_hamilt_MODULE_XC_KERNELS_H_
#define T
Definition exp.cpp:237
Definition wf_op.cpp:6
T type
Definition macros.h:8
Definition xc_functional_op.h:13
void operator()(const int &ik, const int &pol, const int &npw, const int &npwx, const Real &tpiba, const Real *gcar, const Real *kvec_c, const T *rhog, T *porter)
Definition xc_functional_op.cpp:7
typename GetTypeReal< T >::type Real
Definition xc_functional_op.h:14