![]() |
QMCPACK
|
Public Member Functions | |
DTD_BConds (const CrystalLattice< T, D > &lat) | |
constructor: doing nothing More... | |
T | apply_bc (TinyVector< T, D > &displ) const |
apply BC on displ and return |displ|^2 More... | |
void | apply_bc (std::vector< TinyVector< T, D >> &dr, std::vector< T > &r, std::vector< T > &rinv) const |
apply BC on dr and evaluate r and rinv More... | |
void | apply_bc (std::vector< TinyVector< T, D >> &dr, std::vector< T > &r) const |
void | evaluate_rsquared (TinyVector< T, D > *restrict dr, T *restrict rr, int n) |
Definition at line 69 of file ParticleBConds.h.
|
inline |
|
inline |
apply BC on displ and return |displ|^2
displ | a displacement vector in the Cartesian coordinate |
Definition at line 78 of file ParticleBConds.h.
References qmcplusplus::dot().
Referenced by DTD_BConds< T, 3, PPPO >::apply_bc(), DTD_BConds< T, 2, SUPERCELL_BULK >::apply_bc(), DTD_BConds< T, 3, PPPS >::apply_bc(), DTD_BConds< T, 2, PPPS >::apply_bc(), DTD_BConds< T, 2, PPPO >::apply_bc(), DTD_BConds< T, 3, PPPG >::apply_bc(), DTD_BConds< T, 2, SUPERCELL_WIRE >::apply_bc(), DTD_BConds< T, 3, PPNG >::apply_bc(), DTD_BConds< T, 3, PPNO >::apply_bc(), DTD_BConds< T, 3, PPNS >::apply_bc(), DTD_BConds< T, 3, SUPERCELL_WIRE >::apply_bc(), DTD_BConds< T, 3, PPPX >::apply_bc(), DTD_BConds< T, 3, PPNX >::apply_bc(), DTD_BConds< T, 3, PPPO >::evaluate_rsquared(), DTD_BConds< T, 3, PPPS >::evaluate_rsquared(), DTD_BConds< T, 3, PPPG >::evaluate_rsquared(), DTD_BConds< T, 3, PPNG >::evaluate_rsquared(), DTD_BConds< T, 3, PPNO >::evaluate_rsquared(), DTD_BConds< T, 3, PPNS >::evaluate_rsquared(), DTD_BConds< T, 3, SUPERCELL_WIRE >::evaluate_rsquared(), DTD_BConds< T, 3, PPPX >::evaluate_rsquared(), DTD_BConds< T, 3, PPNX >::evaluate_rsquared(), and qmcplusplus::TEST_CASE().
|
inline |
apply BC on dr and evaluate r and rinv
dr | vector of displacements, in and out |
r | vector of distances |
rinv | vector of 1/r |
The input displacement vectors are not modified with the open boundary conditions.
Definition at line 87 of file ParticleBConds.h.
References qmcplusplus::dot(), qmcplusplus::simd::inv(), qmcplusplus::n, and qmcplusplus::simd::sqrt().
|
inline |
Definition at line 96 of file ParticleBConds.h.
References qmcplusplus::dot(), and qmcplusplus::sqrt().
|
inline |
Definition at line 102 of file ParticleBConds.h.
References qmcplusplus::dot(), and qmcplusplus::n.
Referenced by qmcplusplus::TEST_CASE().