15 #ifndef QMCPLUSPLUS_MOMENTUM_HAMILTONIAN_H 16 #define QMCPLUSPLUS_MOMENTUM_HAMILTONIAN_H 25 std::string
getClassName()
const override {
return "MomentumEstimator"; }
36 bool put(xmlNodePtr cur)
override {
return false; };
37 bool get(std::ostream& os)
const override;
41 void resize(
const std::vector<PosType>& kin,
const int Min);
51 std::unique_ptr<RandomBase<FullPrecRealType>>
myRNG;
a class that defines a supercell in D-dimensional Euclean space.
std::vector< PosType > vPos
sample positions
TrialWaveFunction & refPsi
reference to the trial wavefunction for ratio evaluations
void resize(const std::vector< PosType > &kin, const int Min)
std::vector< T, aligned_allocator< T > > aligned_vector
Matrix< ValueType > psi_ratios_all
wavefunction ratios all samples
helper functions for EinsplineSetBuilder
bool hdf5_out
print to hdf5 or scalar.dat
RealType norm_nofK
normalization factor for n(k)
bool putSpecial(xmlNodePtr cur, ParticleSet &elns, bool rootNode)
std::unique_ptr< OperatorBase > makeClone(ParticleSet &qp, TrialWaveFunction &psi) final
Declaration of OperatorBase.
MomentumEstimator(ParticleSet &elns, TrialWaveFunction &psi)
Vectorized record engine for scalar properties.
void setObservables(PropertySetType &plist) override
Set the values evaluated by this object to plist Default implementation is to assign Value which is u...
Specialized paritlce class for atomistic simulations.
void resetTargetParticleSet(ParticleSet &P) override
Reset the data with the target ParticleSet.
ParticleSet::Buffer_t BufferType
typedef for the serialized buffer
std::unique_ptr< RandomBase< FullPrecRealType > > myRNG
random generator
VectorSoaContainer< RealType, 2 > phases
phases
bool put(xmlNodePtr cur) override
Read the input parameter.
void registerCollectables(std::vector< ObservableHelper > &h5desc, hdf_archive &file) const override
void setRandomGenerator(RandomBase< FullPrecRealType > *rng) override
Set the Random Generator object TODO: add docs.
An abstract class for Local Energy operators.
Return_t evaluate(ParticleSet &P) override
Evaluate the local energy contribution of this component.
Class to represent a many-body trial wave function.
aligned_vector< RealType > nofK
nofK
void addObservables(PropertySetType &plist)
std::vector< int > kWeights
weight of k-points (make use of symmetry)
const ParticleSet::ParticleLayout & lattice_
lattice vector
std::vector< VectorSoaContainer< RealType, 2 > > phases_vPos
phases of vPos
void setParticlePropertyList(PropertySetType &plist, int offset) override
std::vector< ValueType > psi_ratios
wavefunction ratios
Vector< RealType > kdotp
nofK internal
std::string getClassName() const override
return class name
BareKineticEnergy::Return_t Return_t
bool dependsOnWaveFunction() const override
return true if this operator depends on a wavefunction
std::vector< PosType > kPoints
list of k-points in Cartesian Coordinates
RecordNamedProperty< FullPrecRealType > PropertySetType
define PropertyList_t