17 #ifndef QMCPLUSPLUS_DENSITY_HAMILTONIAN_H 18 #define QMCPLUSPLUS_DENSITY_HAMILTONIAN_H 43 bool put(xmlNodePtr cur)
override;
44 bool get(std::ostream& os)
const override;
void setParticlePropertyList(PropertySetType &plist, int offset) override
helper functions for EinsplineSetBuilder
int getGridIndex(int i, int j, int k) const noexcept
Get the linearized grid Index object from 3D coordinates.
std::string getClassName() const override
return class name
void setObservables(PropertySetType &plist) override
Set the values evaluated by this object to plist Default implementation is to assign Value which is u...
Declaration of OperatorBase.
bool put(xmlNodePtr cur) override
check xml elements
TinyVector< RealType, OHMMS_DIM > density_min_
lower bound
Vectorized record engine for scalar properties.
TinyVector< int, OHMMS_DIM+1 > num_grids_
number of grids
void registerCollectables(std::vector< ObservableHelper > &h5desc, hdf_archive &file) const override
Specialized paritlce class for atomistic simulations.
std::unique_ptr< OperatorBase > makeClone(ParticleSet &qp, TrialWaveFunction &psi) final
TinyVector< RealType, OHMMS_DIM > density_max_
upper bound
OneDimCubicSpline< pRealType > RadFunctorType
void addObservables(PropertySetType &plist)
LRHandlerBase LRHandlerType
void resize()
resize the internal data
DensityEstimator(ParticleSet &elns)
void resetTargetParticleSet(ParticleSet &P) override
Reset the data with the target ParticleSet.
An abstract class for Local Energy operators.
FullPrecRealType Return_t
type of return value of evaluate
GridType
The different types of grids that we currently allow.
LRCoulombSingleton::LRHandlerType LRHandlerType
Class to represent a many-body trial wave function.
TinyVector< RealType, OHMMS_DIM > delta_
bin size
TinyVector< RealType, OHMMS_DIM > scale_factor_
scaling factor for conversion
std::string prefix
name of the density data
LRCoulombSingleton::RadFunctorType RadFunctorType
Define a LRHandler with two template parameters.
LinearGrid< pRealType > GridType
Return_t evaluate(ParticleSet &P) override
Evaluate the local energy contribution of this component.
bool periodic_
true if any direction of a supercell is periodic
TinyVector< RealType, OHMMS_DIM > delta_inv_
inverse