15 #ifndef QMCPLUSPLUS_STRESSPBC_HAMILTONIAN_H 16 #define QMCPLUSPLUS_STRESSPBC_HAMILTONIAN_H 38 std::unique_ptr<LRHandlerType>
AA;
58 std::vector<RealType>
Zat;
60 std::vector<RealType>
Qat;
97 bool put(xmlNodePtr cur)
override;
99 bool get(std::ostream& os)
const override 101 os <<
"Ceperley Force Estimator Hamiltonian: " <<
pair_name_;
void addObservables(PropertySetType &plist, BufferType &collectables) override
named values to the property list Default implementaton uses addValue(plist_)
void setObservablesStress(QMCTraits::PropertySetType &plist)
std::unique_ptr< OperatorBase > makeClone(ParticleSet &qp, TrialWaveFunction &psi) final
void setObservables(PropertySetType &plist) override
Set the values evaluated by this object to plist Default implementation is to assign Value which is u...
helper functions for EinsplineSetBuilder
int NumSpeciesB
number of species of B particle set
SymTensor< RealType, OHMMS_DIM > evaluateSR_AB(ParticleSet &P_target)
void registerObservables(std::vector< ObservableHelper > &h5list, hdf_archive &file) const override
add to observable descriptor for hdf5 The default implementation is to register a scalar for this->va...
Declaration of OperatorBase.
std::vector< int > NofSpeciesA
number of particles per species of A
SymTensor< RealType, OHMMS_DIM > evaluateKineticSymTensor(ParticleSet &P)
SymTensor< RealType, OHMMS_DIM > stress_eI_const
int NptclA
number of particles of A (classical, e.g. ions)
Vectorized record engine for scalar properties.
void registerObservablesF(std::vector< ObservableHelper > &h5list, hdf_archive &file) const
SymTensor< RealType, OHMMS_DIM > stress_ee_const
int NumSpeciesA
number of species of A particle set
std::vector< RealType > Zat
Zat[iat] charge for the iat-th particle of A.
void addObservablesStress(QMCTraits::PropertySetType &plist)
Specialized paritlce class for atomistic simulations.
void setParticleSetStress(QMCTraits::PropertySetType &plist, int offset)
std::string getClassName() const override
return class name
std::vector< RealType > Qat
Qat[iat] charge for the iat-th particle of B.
std::vector< RealType > Zspec
Zspec[spec] charge for the spec-th species of A.
std::unique_ptr< LRHandlerType > AA
long-range Handler
void resetTargetParticleSet(ParticleSet &P) override
Reset the data with the target ParticleSet.
Return_t evaluate(ParticleSet &P) override
Evaluate the local energy contribution of this component.
ParticleSet & PtclTarg
source particle set
LRHandlerBase LRHandlerType
void initBreakup(ParticleSet &P)
SymTensor< RealType, OHMMS_DIM > evaluateSR_AA(ParticleSet &P, int itabSelf)
SymTensor< RealType, OHMMS_DIM > evaluateLR_AB(ParticleSet &P)
std::vector< RealType > Qspec
Qspec[spec] charge for the spec-th species of B.
StressPBC(ParticleSet &ions, ParticleSet &elns, TrialWaveFunction &Psi)
bool put(xmlNodePtr cur) override
Read the input parameter.
SymTensor< RealType, OHMMS_DIM > evalConsts_AB()
std::vector< int > NofSpeciesB
number of particles per species of B
An abstract class for Local Energy operators.
Class to represent a many-body trial wave function.
void setParticlePropertyList(PropertySetType &plist, int offset) override
SymTensor< Real, OHMMS_DIM > stress_ion_ion_
Define a LRHandler with two template parameters.
base class for LRHandlerTemp<FUNC,BASIS> and DummyLRHanlder<typename Func>
int NptclB
number of particles of B (quantum, e.g. electrons)
SymTensor< RealType, OHMMS_DIM > evaluateLR_AA(ParticleSet &P)
void CalculateIonIonStress()
const int ee_table_index
e-e table ID
SymTensor< RealType, OHMMS_DIM > evalConsts_AA(ParticleSet &P)
BareKineticEnergy::Return_t Return_t
const int ei_table_index
locator of the distance table