49 :
LRHandlerBase(aLR), Sigma(aLR.Sigma), Volume(aLR.Volume), Area(aLR.Area), PreFactors(aLR.PreFactors)
58 const std::vector<int>& kshell(KList.
kshell);
75 for (
int ki = 0; ki <
Fk.
size(); ki++)
87 return knorm *
std::exp(-k2 * kgauss) / k2;
void resize(size_type n, Type_t val=Type_t())
Resize the container.
std::vector< PosType > kpts_cart
K-vector in Cartesian coordinates.
helper functions for EinsplineSetBuilder
mRealType LR_kc
Maximum k cutoff.
DECLARE_COULOMB_TYPES int MaxKshell
Maxkimum Kshell for the given Kc.
EwaldHandler3D::mRealType mRealType
void fillYkgstrain(const KContainer &KList)
mRealType Sigma
Related to the Gaussian width: .
mRealType Volume
Volume of the supercell.
void filldFk_dk(const KContainer &KList)
std::vector< mRealType > kMag
store |k|
const auto & getSimulationCell() const
Specialized paritlce class for atomistic simulations.
size_type size() const
return the current size
mRealType LR_rc
Maximum r cutoff.
Vector< mRealType > Fkg
Fourier component of the LR part, fit to optimize the gradients.
MakeReturn< UnaryNode< FnExp, typename CreateLeaf< Vector< T1, C1 > >::Leaf_t > >::Expression_t exp(const Vector< T1, C1 > &l)
int SuperCellEnum
type of supercell
std::vector< int > kshell
kpts which belong to the ith-shell [kshell[i], kshell[i+1])
Vector< mRealType > Fk
Fourier component for all the k-point.
void fillFk(const KContainer &KList)
MakeReturn< UnaryNode< FnSqrt, typename CreateLeaf< Vector< T1, C1 > >::Leaf_t > >::Expression_t sqrt(const Vector< T1, C1 > &l)
std::vector< RealType > ksq
squre of kpts in Cartesian coordniates
TinyVector< mRealType, 4 > PreFactors
mRealType evaluate_vlr_k(mRealType k) const override
const auto & getLattice() const
base class for LRHandlerTemp<FUNC,BASIS> and DummyLRHanlder<typename Func>
EwaldHandler3D(ParticleSet &ref, mRealType kc_in=-1.0)
Constructor.
void initBreakup(ParticleSet &ref) override
Vector< mRealType > Fk_symm
Fourier component for each k-shell.