17 #ifndef QMCPLUSPLUS_SK_POT_H 18 #define QMCPLUSPLUS_SK_POT_H 37 bool put(xmlNodePtr cur)
override;
38 bool get(std::ostream& os)
const override;
43 for (
int ki = 0; ki <
NumK; ki++)
67 std::vector<RealType>
Kmag;
Vector< ComplexType > RhokTot
for species index
bool put(xmlNodePtr cur) override
Read the input parameter.
helper functions for EinsplineSetBuilder
int NumSpecies
number of species
Declaration of OperatorBase.
std::unique_ptr< OperatorBase > makeClone(ParticleSet &qp, TrialWaveFunction &psi) final
Return_t evaluate(ParticleSet &P) override
Evaluate the local energy contribution of this component.
const auto & getSimulationCell() const
Specialized paritlce class for atomistic simulations.
std::vector< RealType > OneOverDnk
1.0/degenracy for a ksell
std::vector< int > Kshell
kshell counters
std::vector< RealType > Kmag
instantaneous structure factor
MakeReturn< UnaryNode< FnExp, typename CreateLeaf< Vector< T1, C1 > >::Leaf_t > >::Expression_t exp(const Vector< T1, C1 > &l)
RealType OneOverN
normalization factor
An abstract class for Local Energy operators.
std::string getClassName() const override
return class name
MakeReturn< UnaryNode< FnSqrt, typename CreateLeaf< Vector< T1, C1 > >::Leaf_t > >::Expression_t sqrt(const Vector< T1, C1 > &l)
int NumK
number of kpoints
Class to represent a many-body trial wave function.
Tensor< typename BinaryReturn< T1, T2, OpMultiply >::Type_t, D > dot(const AntiSymTensor< T1, D > &lhs, const AntiSymTensor< T2, D > &rhs)
SkPot evaluate the structure factor of the target particleset.
void resize()
resize the internal data
int MaxKshell
number of kshells
void resetTargetParticleSet(ParticleSet &P) override
Reset the data with the target ParticleSet.
BareKineticEnergy::Return_t Return_t