![]() |
QMCPACK
|
specialization for a periodic 3D general cell More...
Public Member Functions | |
DTD_BConds (const CrystalLattice< T, 3 > &lat) | |
T | get_min_distance (TinyVector< T, 3 > &a) const |
evaluate the minimum distance More... | |
T | apply_bc (TinyVector< T, 3 > &displ) const |
apply BC to a displacement vector a and return the minimum-image distance More... | |
void | convert2Cart (const T *restrict in, T *restrict out, int n) const |
out = prod (in ,lattice) More... | |
void | convert2Unit (const T *restrict in, T *restrict out, int n) const |
void | apply_bc (std::vector< TinyVector< T, 3 >> &dr, std::vector< T > &r, std::vector< T > &rinv) const |
void | apply_bc (std::vector< TinyVector< T, 3 >> &dr, std::vector< T > &r) const |
void | evaluate_rsquared (TinyVector< T, 3 > *restrict dr, T *restrict rr, int n) |
Public Attributes | |
T | r00 |
T | r10 |
T | r20 |
T | r01 |
T | r11 |
T | r21 |
T | r02 |
T | r12 |
T | r22 |
T | g00 |
T | g10 |
T | g20 |
T | g01 |
T | g11 |
T | g21 |
T | g02 |
T | g12 |
T | g22 |
T | r2max |
std::vector< TinyVector< T, 3 > > | nextcells |
specialization for a periodic 3D general cell
Slow method and not used unless one needs to check if faster methods fail
Definition at line 482 of file ParticleBConds3D.h.
|
inline |
Definition at line 489 of file ParticleBConds3D.h.
|
inline |
apply BC to a displacement vector a and return the minimum-image distance
lat | lattice |
a | displacement vector |
Definition at line 563 of file ParticleBConds3D.h.
|
inline |
Definition at line 607 of file ParticleBConds3D.h.
References DTD_BConds< T, D, SC >::apply_bc(), qmcplusplus::simd::inv(), qmcplusplus::n, and qmcplusplus::simd::sqrt().
|
inline |
Definition at line 622 of file ParticleBConds3D.h.
References DTD_BConds< T, D, SC >::apply_bc().
|
inline |
out = prod (in ,lattice)
lattice | 3x3 tensor to for conversion, either CrystalLattice::R or CrystalLattice::G |
in | start address of input vectors, in[n][3] |
out | start address of output vectors, out[n][3] |
n | number of 3d vectors |
Definition at line 587 of file ParticleBConds3D.h.
References qmcplusplus::n.
|
inline |
|
inline |
Definition at line 628 of file ParticleBConds3D.h.
References DTD_BConds< T, D, SC >::apply_bc(), and qmcplusplus::n.
|
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 533 of file ParticleBConds3D.h.
T g00 |
Definition at line 485 of file ParticleBConds3D.h.
T g01 |
Definition at line 485 of file ParticleBConds3D.h.
T g02 |
Definition at line 485 of file ParticleBConds3D.h.
T g10 |
Definition at line 485 of file ParticleBConds3D.h.
T g11 |
Definition at line 485 of file ParticleBConds3D.h.
T g12 |
Definition at line 485 of file ParticleBConds3D.h.
T g20 |
Definition at line 485 of file ParticleBConds3D.h.
T g21 |
Definition at line 485 of file ParticleBConds3D.h.
T g22 |
Definition at line 485 of file ParticleBConds3D.h.
std::vector<TinyVector<T, 3> > nextcells |
Definition at line 487 of file ParticleBConds3D.h.
T r00 |
Definition at line 484 of file ParticleBConds3D.h.
T r01 |
Definition at line 484 of file ParticleBConds3D.h.
T r02 |
Definition at line 484 of file ParticleBConds3D.h.
T r10 |
Definition at line 484 of file ParticleBConds3D.h.
T r11 |
Definition at line 484 of file ParticleBConds3D.h.
T r12 |
Definition at line 484 of file ParticleBConds3D.h.
T r20 |
Definition at line 484 of file ParticleBConds3D.h.
T r21 |
Definition at line 484 of file ParticleBConds3D.h.
T r22 |
Definition at line 484 of file ParticleBConds3D.h.
T r2max |
Definition at line 486 of file ParticleBConds3D.h.