16 #ifndef QMCPLUSPLUS_MPC_H 17 #define QMCPLUSPLUS_MPC_H 22 #if defined(HAVE_EINSPLINE) 23 #include "einspline/bspline.h" 40 std::vector<TinyVector<int, OHMMS_DIM>>
Gints;
59 std::vector<RealType>
f_G;
86 bool put(xmlNodePtr cur)
override;
88 bool get(std::ostream& os)
const override
void resetTargetParticleSet(ParticleSet &P) override
Reset the data with the target ParticleSet.
std::shared_ptr< UBspline_3d_d > VlongSpline
std::array< size_t, OHMMS_DIM > SplineDim
MPC(ParticleSet &ref, double cutoff)
std::vector< ComplexType > Rho_G
helper functions for EinsplineSetBuilder
Return_t evaluate(ParticleSet &P) override
Evaluate the local energy contribution of this component.
Declaration of OperatorBase.
std::string getClassName() const override
return class name
Return_t evalLR(ParticleSet &P) const
void init_f_G(const ParticleSet &ptcl)
Calculates the Model Periodic Coulomb potential using PBCs.
void init_gvecs(const ParticleSet &ptcl)
Specialized paritlce class for atomistic simulations.
Return_t evalSR(ParticleSet &P) const
void init_spline(const ParticleSet &ptcl)
~MPC() override
copy constructor
std::vector< RealType > f_G
An abstract class for Local Energy operators.
FullPrecRealType Return_t
type of return value of evaluate
Class to represent a many-body trial wave function.
std::vector< RealType > Zspec
void initBreakup(const ParticleSet &ptcl)
std::vector< RealType > Zat
Define a LRHandler with two template parameters.
std::vector< PosType > Gvecs
std::unique_ptr< OperatorBase > makeClone(ParticleSet &qp, TrialWaveFunction &psi) override
std::vector< ComplexType > RhoAvg_G
std::vector< int > NofSpecies
void compute_g_G(const ParticleSet &ptcl, double &g_0_N, std::vector< double > &g_G_N, int N)
BareKineticEnergy::Return_t Return_t
std::vector< TinyVector< int, OHMMS_DIM > > Gints
bool put(xmlNodePtr cur) override
Do nothing.