![]() |
QMCPACK
|
Functor for term within the k-space sum in Drummond 2008 formula 7. More...
Public Member Functions | |
KspaceMadelungTerm (const RealMat &b_in, real_t kconst_in, real_t kfactor_in) | |
real_t | operator() (const IntVec &i) const |
Private Attributes | |
const RealMat | b |
The k-space cell axes. More... | |
const real_t | kconst |
The constant 1/(4^2) in Drummond 2008 formula 7. More... | |
const real_t | kfactor |
The constant 4/ in Drummond 2008 formula 7. More... | |
Functor for term within the k-space sum in Drummond 2008 formula 7.
Definition at line 46 of file EwaldRef.cpp.
|
inline |
Definition at line 57 of file EwaldRef.cpp.
Definition at line 61 of file EwaldRef.cpp.
References KspaceMadelungTerm::b, qmcplusplus::dot(), qmcplusplus::exp(), KspaceMadelungTerm::kconst, and KspaceMadelungTerm::kfactor.
|
private |
The k-space cell axes.
Definition at line 50 of file EwaldRef.cpp.
Referenced by KspaceMadelungTerm::operator()().
|
private |
The constant 1/(4^2) in Drummond 2008 formula 7.
Definition at line 52 of file EwaldRef.cpp.
Referenced by KspaceMadelungTerm::operator()().
|
private |
The constant 4/ in Drummond 2008 formula 7.
Definition at line 54 of file EwaldRef.cpp.
Referenced by KspaceMadelungTerm::operator()().