![]() |
QMCPACK
|
specialization for a periodic 2D cell More...
Public Member Functions | |
DTD_BConds (const CrystalLattice< T, 2 > &lat) | |
T | get_min_distance (TinyVector< T, 2 > &a) const |
evaluate the minimum distance More... | |
T | apply_bc (TinyVector< T, 2 > &displ) const |
apply BC to a displacement vector a and return the minimum-image distance More... | |
void | apply_bc (std::vector< TinyVector< T, 2 >> &dr, std::vector< T > &r, std::vector< T > &rinv) const |
void | apply_bc (std::vector< TinyVector< T, 2 >> &dr, std::vector< T > &r) const |
Public Attributes | |
T | r00 |
T | r10 |
T | r01 |
T | r11 |
T | g00 |
T | g10 |
T | g01 |
T | g11 |
T | r2max |
std::vector< TinyVector< T, 2 > > | nextcells |
specialization for a periodic 2D cell
Definition at line 25 of file ParticleBConds2D.h.
|
inline |
Definition at line 32 of file ParticleBConds2D.h.
|
inline |
apply BC to a displacement vector a and return the minimum-image distance
lat | lattice |
a | displacement vector |
Definition at line 94 of file ParticleBConds2D.h.
|
inline |
Definition at line 108 of file ParticleBConds2D.h.
References DTD_BConds< T, D, SC >::apply_bc(), qmcplusplus::simd::inv(), qmcplusplus::n, and qmcplusplus::simd::sqrt().
|
inline |
Definition at line 117 of file ParticleBConds2D.h.
References DTD_BConds< T, D, SC >::apply_bc().
|
inline |
evaluate the minimum distance
lat | lattice |
a | displacement vector [-0.5,0.5)x[-0.5,0.5)x[-0.5,0.5) |
r2max | square of the maximum cutoff |
Search the ghost cells to match Wigner-Seitz cell
Definition at line 64 of file ParticleBConds2D.h.
T g00 |
Definition at line 28 of file ParticleBConds2D.h.
T g01 |
Definition at line 28 of file ParticleBConds2D.h.
T g10 |
Definition at line 28 of file ParticleBConds2D.h.
T g11 |
Definition at line 28 of file ParticleBConds2D.h.
std::vector<TinyVector<T, 2> > nextcells |
Definition at line 30 of file ParticleBConds2D.h.
T r00 |
Definition at line 27 of file ParticleBConds2D.h.
T r01 |
Definition at line 27 of file ParticleBConds2D.h.
T r10 |
Definition at line 27 of file ParticleBConds2D.h.
T r11 |
Definition at line 27 of file ParticleBConds2D.h.
T r2max |
Definition at line 29 of file ParticleBConds2D.h.