![]() |
QMCPACK
|
Base-class for long-range breakups. More...
Inheritance diagram for LRBasis:
Collaboration diagram for LRBasis:Public Types | |
| using | ParticleLayout = ParticleSet::ParticleLayout |
| Typedef for the lattice-type. We don't need the full particle-set. More... | |
Public Member Functions | |
| LRBasis (const ParticleLayout &ref) | |
| virtual | ~LRBasis ()=default |
| int | NumBasisElem () const |
| virtual mRealType | h (int n, mRealType r) const =0 |
| virtual mRealType | hintr2 (int n) const =0 |
| virtual mRealType | dh_dr (int n, mRealType r) const |
| virtual mRealType | c (int m, mRealType k) const =0 |
| virtual mRealType | dc_dk (int m, mRealType k) const |
| mRealType | df (int m, mRealType r) const |
| mRealType | f (mRealType r, const std::vector< mRealType > &coefs) const |
| $f(r,{tn})$ returns the value of $ t_n*h_{ n}(r)$ r is radial position (scalar) std::vector<RealType> coefs are the {tn} optimized breakup coefficients. More... | |
| mRealType | df_dr (mRealType r, const std::vector< mRealType > &coefs) const |
| mRealType | fk (mRealType k, const std::vector< mRealType > coefs) const |
| mRealType | dfk_dk (mRealType k, const std::vector< mRealType > coefs) const |
| virtual void | set_rc (mRealType rc)=0 |
| mRealType | get_rc () const |
| mRealType | get_CellVolume () const |
| void | set_Lattice (const ParticleLayout &ref) |
| const ParticleLayout & | get_Lattice () const |
Public Attributes | |
| DECLARE_COULOMB_TYPES int | BasisSize |
| size of the basis elements More... | |
| mRealType | m_rc |
| Real-space cutoff for short-range part. More... | |
| ParticleLayout | Lattice |
Base-class for long-range breakups.
Contains 3 important functions: c(n,k), h(n,r), hintr2(r) which evaluate the n'th basis function at k or r.
|
inline |
Definition at line 50 of file LRBasis.h.
|
virtualdefault |
Implemented in LPQHISRCoulombBasis, and LPQHIBasis.
Referenced by LRBasis::fk().
Reimplemented in LPQHISRCoulombBasis.
Definition at line 65 of file LRBasis.h.
Referenced by LRBasis::dfk_dk().
Definition at line 71 of file LRBasis.h.
References LRBasis::dh_dr(), and qmcplusplus::Units::distance::m.
Referenced by LRBasis::df_dr().
Definition at line 104 of file LRBasis.h.
References LRBasis::df(), LRBasis::dh_dr(), and qmcplusplus::n.
Definition at line 140 of file LRBasis.h.
References LRBasis::dc_dk(), and qmcplusplus::n.
Reimplemented in LPQHISRCoulombBasis, and LPQHIBasis.
Definition at line 61 of file LRBasis.h.
Referenced by LRBasis::df(), and LRBasis::df_dr().
$f(r,{tn})$ returns the value of $ t_n*h_{ n}(r)$ r is radial position (scalar) std::vector<RealType> coefs are the {tn} optimized breakup coefficients.
Definition at line 86 of file LRBasis.h.
References LRBasis::h(), and qmcplusplus::n.
Definition at line 123 of file LRBasis.h.
References LRBasis::c(), and qmcplusplus::n.
|
inline |
Definition at line 151 of file LRBasis.h.
References CrystalLattice< T, D >::Volume.
|
inline |
|
inline |
Definition at line 150 of file LRBasis.h.
References LRBasis::m_rc.
Implemented in LPQHISRCoulombBasis, and LPQHIBasis.
Referenced by LRBasis::f().
|
pure virtual |
Implemented in LPQHISRCoulombBasis, and LPQHIBasis.
|
inline |
Definition at line 56 of file LRBasis.h.
References LRBasis::BasisSize.
|
inline |
|
pure virtual |
Implemented in LPQHISRCoulombBasis, and LPQHIBasis.
| DECLARE_COULOMB_TYPES int BasisSize |
size of the basis elements
Definition at line 38 of file LRBasis.h.
Referenced by LPQHIBasis::LPQHIBasis(), LPQHISRCoulombBasis::LPQHISRCoulombBasis(), LRBasis::NumBasisElem(), LPQHIBasis::set_NumKnots(), and LPQHISRCoulombBasis::set_NumKnots().
Definition at line 46 of file LRBasis.h.
Referenced by LRBasis::get_Lattice().
| mRealType m_rc |
Real-space cutoff for short-range part.
Definition at line 40 of file LRBasis.h.
Referenced by LPQHIBasis::dh_dr(), LPQHISRCoulombBasis::dh_dr(), LRBasis::get_rc(), LPQHIBasis::h(), LPQHISRCoulombBasis::h(), LPQHIBasis::LPQHIBasis(), LPQHISRCoulombBasis::LPQHISRCoulombBasis(), LPQHISRCoulombBasis::rh(), LPQHIBasis::set_NumKnots(), LPQHISRCoulombBasis::set_NumKnots(), LPQHIBasis::set_rc(), and LPQHISRCoulombBasis::set_rc().