14 #ifndef QMCPLUSPLUS_ENERGY_DENSITY_ESTIMATOR_H 15 #define QMCPLUSPLUS_ENERGY_DENSITY_ESTIMATOR_H 29 using PSPool = std::map<std::string, const std::unique_ptr<ParticleSet>>;
34 std::string
getClassName()
const override {
return "EnergyDensityEstimator"; }
42 bool put(xmlNodePtr cur)
override;
44 bool get(std::ostream& os)
const override;
std::string getClassName() const override
return class name
TraceSample< TraceReal > * Td_trace
Return_t evaluate(ParticleSet &P) override
Evaluate the local energy contribution of this component.
TraceSample< TraceReal > * w_trace
void setObservables(PropertySetType &plist) override
Set the values evaluated by this object to plist Default implementation is to assign Value which is u...
std::vector< RealType > Zptcl
helper functions for EinsplineSetBuilder
bool put(xmlNodePtr cur) override
check xml elements
void checkoutScalarQuantities(TraceManager &tm) override
void setParticlePropertyList(PropertySetType &plist, int offset) override
Declaration of OperatorBase.
void registerCollectables(std::vector< ObservableHelper > &h5desc, hdf_archive &file) const override
TinyVector< RealType, DIM > Point
Vectorized record engine for scalar properties.
std::vector< bool > particles_outside
ParticleSet * get_particleset(std::string &psname)
void write_nonzero_domains(const ParticleSet &P)
void contributeScalarQuantities() override
std::vector< SpaceGrid * > spacegrids
~EnergyDensityEstimator() override
Specialized paritlce class for atomistic simulations.
void getRequiredTraces(TraceManager &tm) override
TODO: add docs.
ParticleSet::Buffer_t BufferType
typedef for the serialized buffer
void addObservables(PropertySetType &plist)
void write_EDValues(void)
void write_Collectables(std::string &label, int &cnt, ParticleSet &P)
void write_description(std::ostream &os)
void resetTargetParticleSet(ParticleSet &P) override
Reset the data with the target ParticleSet.
std::unique_ptr< OperatorBase > makeClone(ParticleSet &qp, TrialWaveFunction &psi) final
EnergyDensityEstimator(const PSPool &PSP, const std::string &defaultKE)
CombinedTraceSample< TraceReal > * Vs_trace
An abstract class for Local Energy operators.
Particle traits to use UniformGridLayout for the ParticleLayout.
Class to represent a many-body trial wave function.
std::map< std::string, const std::unique_ptr< ParticleSet > > PSPool
void deleteScalarQuantities() override
ParticleAttrib< SingleParticlePos > ParticlePos
Matrix< RealType > EDIonValues
Matrix< RealType > EDValues
CombinedTraceSample< TraceReal > * Vd_trace
int outside_buffer_offset
void collectScalarQuantities() override
BareKineticEnergy::Return_t Return_t
RecordNamedProperty< FullPrecRealType > PropertySetType
define PropertyList_t