17 :
SPOSet(my_name), numparticles_(nparticles)
42 APP_ABORT(
"ConstantSPOSet should not call checkOutVariables");
69 int ptcl = vp ? vp->
refPtcl : iat;
90 ValueMatrix& d2logdet)
92 for (
int iat = first, i = 0; iat < last; ++iat, ++i)
base class for Single-particle orbital sets
void evaluate_notranspose(const ParticleSet &P, int first, int last, ValueMatrix &logdet, GradMatrix &dlogdet, ValueMatrix &d2logdet) override
evaluate the values, gradients and laplacians of this single-particle orbital for [first...
void setRefELapls(const ValueMatrix &lapls)
Setter method to set ^2_i (r_i).
helper functions for EinsplineSetBuilder
std::unique_ptr< SPOSet > makeClone() const override
make a clone of itself every derived class must implement this to have threading working correctly...
const std::string my_name_
name of the object, unique identifier
void evaluateVGL(const ParticleSet &P, int iat, ValueVector &psi, GradVector &dpsi, ValueVector &d2psi) override
evaluate the values, gradients and laplacians of this single-particle orbital set ...
A ParticleSet that handles virtual moves of a selected particle of a given physical ParticleSet Virtu...
void evaluateValue(const ParticleSet &P, int iat, ValueVector &psi) override
evaluate the values of this single-particle orbital set
int refPtcl
Reference particle.
void setOrbitalSetSize(int norbs) override
set the OrbitalSetSize
Specialized paritlce class for atomistic simulations.
void setRefVals(const ValueMatrix &vals)
Setter method to set (r_i).
ConstantSPOSet(const std::string &my_name)=delete
ValueMatrix ref_psi_
evaluate_notranspose arrays are nparticle x norb matrices.
void setRefEGrads(const GradMatrix &grads)
Setter method to set (r_i).
OrbitalSetTraits< ValueType >::ValueVector ValueVector
class to handle a set of variables that can be modified during optimizations
std::string getClassName() const override
return class name
IndexType OrbitalSetSize
number of Single-particle orbitals
#define APP_ABORT(msg)
Widely used but deprecated fatal error macros from legacy code.
OrbitalSetTraits< ValueType >::GradVector GradVector
void checkOutVariables(const opt_variables_type &active) override
check out variational optimizable variables