14 #ifndef QMCPLUSPLUS_HARMONIC_EXTERNAL_POTENTIAL_H 15 #define QMCPLUSPLUS_HARMONIC_EXTERNAL_POTENTIAL_H 31 #if !defined(REMOVE_TRACEMANAGER) 45 std::string
getClassName()
const override {
return "HarmonicExternalPotential"; }
50 bool put(xmlNodePtr cur)
override;
51 bool get(std::ostream& os)
const override;
58 #if !defined(REMOVE_TRACEMANAGER) std::unique_ptr< OperatorBase > makeClone(ParticleSet &P, TrialWaveFunction &psi) final
bool streaming_particles_
helper functions for EinsplineSetBuilder
bool streaming_array(const std::string &name)
QTBase::RealType RealType
void resetTargetParticleSet(ParticleSet &P) override
Reset the data with the target ParticleSet.
Declaration of OperatorBase.
Return_t evaluate(ParticleSet &P, std::vector< NonLocalData > &Txy)
TraceRequest request_
whether traces are being collected
void deleteParticleQuantities() override
Array< TraceReal, 1 > * V_sample
single particle trace sample array
std::string name_
name of this object
Specialized paritlce class for atomistic simulations.
void checkoutParticleQuantities(TraceManager &tm) override
std::string getClassName() const override
return class name
void oneBodyQuantumDomain(const ParticleSet &P)
set quantum domain for one-body operator
void setEnergyDomain(EnergyDomains edomain)
Set the Energy Domain.
Array< TraceReal, D > * checkout_real(const std::string &name, int n1=1, int n2=0, int n3=0, int n4=0)
An abstract class for Local Energy operators.
FullPrecRealType Return_t
type of return value of evaluate
void contributeParticleQuantities() override
HarmonicExternalPotential(ParticleSet &P)
bool put(xmlNodePtr cur) override
Read the input parameter.
Class to represent a many-body trial wave function.
void contribute_array(const std::string &name, bool default_quantity=false)
~HarmonicExternalPotential() override
BareKineticEnergy::Return_t Return_t
Return_t evaluate_sp(ParticleSet &P)
Return_t evaluate(ParticleSet &P) override
Evaluate the local energy contribution of this component.