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>
5#include <source_psi/psi.h>
7
8namespace hamilt {
9
10template <typename T, typename Device>
12 using Real = typename GetTypeReal<T>::type;
13 void operator()(
14 const int& ik,
15 const int& pol,
16 const int& npw,
17 const int& npwx,
18 const Real& tpiba,
19 const Real * gcar,
20 const Real * kvec_c,
21 const T * rhog,
22 T* porter);
23
24 void operator()(
25 const int& ipol,
26 const int& nrxx,
27 const T * porter,
28 T* grad);
29};
30
31} // namespace hamilt
32#endif // source_hamilt_MODULE_XC_KERNELS_H_
#define T
Definition exp.cpp:237
Definition hamilt.h:12
T type
Definition macros.h:8
Definition xc_functional_op.h:11
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:6
typename GetTypeReal< T >::type Real
Definition xc_functional_op.h:12