|  | QMCPACK
    | 
LRHandler without breakup. More...
 Inheritance diagram for DummyLRHandler< Func >:
 Inheritance diagram for DummyLRHandler< Func >: Collaboration diagram for DummyLRHandler< Func >:
 Collaboration diagram for DummyLRHandler< Func >:| Public Member Functions | |
| DummyLRHandler (mRealType kc=-1.0) | |
| DummyLRHandler (const DummyLRHandler &aLR) | |
| void | initBreakup (ParticleSet &ref) override | 
| mRealType | evaluate_vlr_k (mRealType k) const override | 
| mRealType | evaluate (mRealType r, mRealType rinv) const override | 
| mRealType | evaluateLR (mRealType r) const override | 
| mRealType | srDf (mRealType r, mRealType rinv) const override | 
| void | Breakup (ParticleSet &ref, mRealType rs_in) override | 
| void | resetTargetParticleSet (ParticleSet &ref) override | 
| LRHandlerBase * | makeClone (ParticleSet &ref) const override | 
| make clone  More... | |
|  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 mRealType | evaluateSR_k0 () const | 
| evaluate  More... | |
| virtual mRealType | evaluateLR_r0 () const | 
| evaluate  for the self-interaction term  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 | 
| virtual mRealType | lrDf (mRealType r) const | 
| Public Attributes | |
| Func | myFunc | 
|  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... | |
| Additional Inherited Members | |
|  Protected Attributes inherited from LRHandlerBase | |
| std::string | ClassName | 
LRHandler without breakup.
The template parameter Func should impelement operator()(kk) which returns the Fourier component of a long-range function. Here kk is  .
. 
Definition at line 214 of file LRHandlerBase.h.
| 
 | inline | 
Definition at line 218 of file LRHandlerBase.h.
| 
 | inline | 
Definition at line 220 of file LRHandlerBase.h.
| 
 | inlineoverridevirtual | 
| 
 | inlineoverridevirtual | 
Implements LRHandlerBase.
Definition at line 222 of file LRHandlerBase.h.
References LRHandlerBase::Fk, LRHandlerBase::Fk_symm, ParticleSet::getLattice(), ParticleSet::getSimulationCell(), LRHandlerBase::LR_kc, LRHandlerBase::MaxKshell, DummyLRHandler< Func >::myFunc, norm(), and Vector< T, Alloc >::resize().
Referenced by qmcplusplus::TEST_CASE().
| 
 | inlineoverridevirtual | 
make clone
Implements LRHandlerBase.
Definition at line 254 of file LRHandlerBase.h.
References LRHandlerBase::LR_kc.
| 
 | inlineoverridevirtual | 
| Func myFunc | 
Definition at line 216 of file LRHandlerBase.h.
Referenced by DummyLRHandler< Func >::initBreakup().