![]() |
QMCPACK
|
Functor for term within the k-space sum in Drummond 2008 formula 6. More...
Public Member Functions | |
KspaceEwaldTerm (const RealVec &r_in, const RealMat &b_in, real_t kconst_in, real_t kfactor_in) | |
real_t | operator() (const IntVec &i) const |
Private Attributes | |
const RealVec | r |
The inter-particle separation vector. More... | |
const RealMat | b |
The k-space cell axes. More... | |
const real_t | kconst |
The constant -^2/2 in Drummond 2008 formula 6. More... | |
const real_t | kfactor |
The constant 4/ in Drummond 2008 formula 6. More... | |
Functor for term within the k-space sum in Drummond 2008 formula 6.
Definition at line 98 of file EwaldRef.cpp.
|
inline |
Definition at line 111 of file EwaldRef.cpp.
Definition at line 115 of file EwaldRef.cpp.
References KspaceEwaldTerm::b, qmcplusplus::cos(), qmcplusplus::dot(), qmcplusplus::exp(), KspaceEwaldTerm::kconst, KspaceEwaldTerm::kfactor, and KspaceEwaldTerm::r.
|
private |
The k-space cell axes.
Definition at line 104 of file EwaldRef.cpp.
Referenced by KspaceEwaldTerm::operator()().
|
private |
The constant -^2/2 in Drummond 2008 formula 6.
Definition at line 106 of file EwaldRef.cpp.
Referenced by KspaceEwaldTerm::operator()().
|
private |
The constant 4/ in Drummond 2008 formula 6.
Definition at line 108 of file EwaldRef.cpp.
Referenced by KspaceEwaldTerm::operator()().
|
private |
The inter-particle separation vector.
Definition at line 102 of file EwaldRef.cpp.
Referenced by KspaceEwaldTerm::operator()().