![]() |
QMCPACK
|
Inheritance diagram for EwaldHandler2D:
Collaboration diagram for EwaldHandler2D:Public Member Functions | |
| EwaldHandler2D (ParticleSet &ref, mRealType kc_in=-1.0) | |
| LRHandlerBase * | makeClone (ParticleSet &ref) const override |
| make clone More... | |
| mRealType | evaluate (mRealType r, mRealType rinv) const override |
| mRealType | evaluateLR_r0 () const override |
evaluate for the self-interaction term More... | |
| mRealType | evaluateLR (mRealType r) const override |
| mRealType | evaluateSR_k0 () const override |
evaluate More... | |
| void | fillFk (const KContainer &KList) |
| mRealType | srDf (mRealType r, mRealType rinv) const override |
| mRealType | lrDf (mRealType r) const override |
| virtual mRealType | evaluate_vlr_k (mRealType k) const override |
| void | initBreakup (ParticleSet &ref) override |
| void | Breakup (ParticleSet &ref, mRealType rs_in) override |
| void | resetTargetParticleSet (ParticleSet &ref) override |
Public Member Functions inherited from LRHandlerBase | |
| LRHandlerBase (mRealType kc) | |
| virtual | ~LRHandlerBase ()=default |
| mRealType | get_rc () const |
| mRealType | get_kc () const |
| mRealType | evaluate_w_sk (const std::vector< int > &kshell, const pRealType *restrict sk) const |
| mRealType | evaluate (const std::vector< int > &kshell, const pRealType *restrict rk1_r, const pRealType *restrict rk1_i, const pRealType *restrict rk2_r, const pRealType *restrict rk2_i) const |
evaluate More... | |
| virtual mRealType | evaluate_slab (pRealType z, const std::vector< int > &kshell, const pRealType *restrict rk1_r, const pRealType *restrict rk1_i, const pRealType *restrict rk2_r, const pRealType *restrict rk2_i) const |
| Evaluate the long-range potential with the open BC for the D-1 direction. More... | |
| void | evaluateGrad (const ParticleSet &A, const ParticleSet &B, int specB, std::vector< pRealType > &Zat, std::vector< TinyVector< pRealType, OHMMS_DIM >> &grad1) const |
evaluate and More... | |
| SymTensor< pRealType, OHMMS_DIM > | evaluateStress (const std::vector< int > &kshell, const pRealType *rhokA_r, const pRealType *rhokA_i, const pRealType *rhokB_r, const pRealType *rhokB_i) const |
| FIX_PRECISION. More... | |
| virtual SymTensor< mRealType, OHMMS_DIM > | evaluateLR_r0_dstrain () const |
| These functions return the strain derivatives of all corresponding quantities in total energy. More... | |
| virtual SymTensor< mRealType, OHMMS_DIM > | evaluateSR_k0_dstrain () const |
| virtual SymTensor< mRealType, OHMMS_DIM > | evaluateLR_dstrain (TinyVector< pRealType, OHMMS_DIM > k, pRealType kmag) const |
| virtual SymTensor< mRealType, OHMMS_DIM > | evaluateSR_dstrain (TinyVector< pRealType, OHMMS_DIM > r, pRealType rmag) const |
Private Attributes | |
| mRealType | alpha |
| mRealType | area |
Additional Inherited Members | |
Public Attributes inherited from LRHandlerBase | |
| DECLARE_COULOMB_TYPES int | MaxKshell |
| Maxkimum Kshell for the given Kc. More... | |
| mRealType | LR_kc |
| Maximum k cutoff. More... | |
| mRealType | LR_rc |
| Maximum r cutoff. More... | |
| Vector< mRealType > | Fk |
| Fourier component for all the k-point. More... | |
| Vector< mRealType > | Fkg |
| Fourier component of the LR part, fit to optimize the gradients. More... | |
| std::vector< SymTensor< mRealType, OHMMS_DIM > > | dFk_dstrain |
| Fourier component of the LR part of strain tensor, by optimized breakup. More... | |
| Vector< mRealType > | Fkgstrain |
| Vector of df_k/dk, fit as to optimize strains. More... | |
| Vector< mRealType > | Fk_symm |
| Fourier component for each k-shell. More... | |
| std::vector< mRealType > | coefs |
| Fourier component for each k-shell Coefficient. More... | |
| std::vector< mRealType > | gcoefs |
| Coefficient for gradient fit. More... | |
| std::vector< mRealType > | gstraincoefs |
| Coefficient for strain fit. More... | |
Protected Attributes inherited from LRHandlerBase | |
| std::string | ClassName |
Definition at line 24 of file EwaldHandler2D.h.
| EwaldHandler2D | ( | ParticleSet & | ref, |
| mRealType | kc_in = -1.0 |
||
| ) |
Definition at line 17 of file EwaldHandler2D.cpp.
References EwaldHandler2D::alpha, qmcplusplus::app_log(), EwaldHandler2D::area, EwaldHandler2D::fillFk(), ParticleSet::getLattice(), ParticleSet::getSimulationCell(), LRHandlerBase::LR_kc, LRHandlerBase::LR_rc, and qmcplusplus::sqrt().
Referenced by EwaldHandler2D::makeClone().
|
inlineoverridevirtual |
Implements LRHandlerBase.
Definition at line 55 of file EwaldHandler2D.h.
References EwaldHandler2D::initBreakup().
Implements LRHandlerBase.
Definition at line 33 of file EwaldHandler2D.h.
References EwaldHandler2D::alpha.
Implements LRHandlerBase.
Definition at line 50 of file EwaldHandler2D.h.
Implements LRHandlerBase.
Definition at line 37 of file EwaldHandler2D.h.
References EwaldHandler2D::alpha.
|
inlineoverridevirtual |
evaluate
for the self-interaction term
Reimplemented from LRHandlerBase.
Definition at line 34 of file EwaldHandler2D.h.
References EwaldHandler2D::alpha, and qmcplusplus::sqrt().
|
inlineoverridevirtual |
evaluate
Reimplemented from LRHandlerBase.
Definition at line 38 of file EwaldHandler2D.h.
References EwaldHandler2D::alpha, EwaldHandler2D::area, and qmcplusplus::sqrt().
| void fillFk | ( | const KContainer & | KList | ) |
Definition at line 31 of file EwaldHandler2D.cpp.
References EwaldHandler2D::alpha, EwaldHandler2D::area, LRHandlerBase::Fk, LRHandlerBase::Fk_symm, KContainer::kpts_cart, KContainer::kshell, KContainer::ksq, LRHandlerBase::MaxKshell, Vector< T, Alloc >::resize(), Vector< T, Alloc >::size(), and qmcplusplus::sqrt().
Referenced by EwaldHandler2D::EwaldHandler2D().
|
inlineoverridevirtual |
Implements LRHandlerBase.
Definition at line 54 of file EwaldHandler2D.h.
Referenced by EwaldHandler2D::Breakup().
Reimplemented from LRHandlerBase.
Definition at line 46 of file EwaldHandler2D.h.
|
inlineoverridevirtual |
make clone
Implements LRHandlerBase.
Definition at line 30 of file EwaldHandler2D.h.
References EwaldHandler2D::EwaldHandler2D().
|
inlineoverridevirtual |
Implements LRHandlerBase.
Definition at line 42 of file EwaldHandler2D.h.
|
private |
Definition at line 59 of file EwaldHandler2D.h.
Referenced by EwaldHandler2D::evaluate(), EwaldHandler2D::evaluateLR(), EwaldHandler2D::evaluateLR_r0(), EwaldHandler2D::evaluateSR_k0(), EwaldHandler2D::EwaldHandler2D(), and EwaldHandler2D::fillFk().
|
private |
Definition at line 60 of file EwaldHandler2D.h.
Referenced by EwaldHandler2D::evaluateSR_k0(), EwaldHandler2D::EwaldHandler2D(), and EwaldHandler2D::fillFk().