16 #ifndef QMCPLUSPLUS_BACKFLOW_FUNCTIONBASE_H 17 #define QMCPLUSPLUS_BACKFLOW_FUNCTIONBASE_H 77 std::vector<TinyVector<RealType, 3>>
derivs;
126 virtual void acceptMove(
int iat,
int UpdateType) = 0;
128 virtual void restore(
int iat,
int UpdateType) = 0;
181 const std::vector<int>& index,
188 const std::vector<int>& index,
void resize(size_type n, Type_t val=Type_t())
Resize the container.
virtual std::unique_ptr< BackflowFunctionBase > makeClone(ParticleSet &tqp) const =0
int NumTargets
number of quantum particles
Walker< QMCTraits, PtclOnLatticeTraits > Walker_t
walker type
Declaration of OptimizableObject.
virtual int indexOffset()=0
helper functions for EinsplineSetBuilder
size_t getTotalNum() const
Matrix< HessType > HessMatrix
Base class for backflow transformations.
virtual void checkInVariables(opt_variables_type &active)=0
Walker_t::WFBuffer_t WFBufferType
void resize(size_type n, size_type m)
Resize the container.
Array< HessType, 3 > HessArray
Attaches a unit to a Vector for IO.
int NumCenters
number of centers, e.g., ions
virtual ~BackflowFunctionBase()
virtual void evaluateBmatOnly(const ParticleSet &P, GradMatrix &Bmat_full)=0
calculate only Bmat This is used in pbyp moves, in updateBuffer()
PooledMemory< FullPrecRealType > WFBuffer_t
Specialized paritlce class for atomistic simulations.
virtual void reportStatus(std::ostream &os)=0
void copyFromBuffer(WFBufferType &buf)
opt_variables_type myVars
virtual void evaluatePbyP(const ParticleSet &P, ParticleSet::ParticlePos &newQP, const std::vector< int > &index)=0
calculate quasi-particle coordinates after pbyp move
virtual void acceptMove(int iat, int UpdateType)=0
class to handle a set of variables that can be modified during optimizations
void updateBuffer(WFBufferType &buf)
virtual void checkOutVariables(const opt_variables_type &active)=0
Matrix< GradType > GradMatrix
virtual void restore(int iat, int UpdateType)=0
ParticleSet & CenterSys
Reference to the center.
virtual void evaluateWithDerivatives(const ParticleSet &P, ParticleSet &QP, GradMatrix &Bmat, HessMatrix &Amat, GradMatrix &Cmat, GradMatrix &Ymat, HessArray &Xmat)=0
calculate quasi-particle coordinates, Bmat and Amat calculate derivatives wrt to variational paramete...
std::vector< TinyVector< RealType, 3 > > derivs
BackflowFunctionBase(ParticleSet &ions, ParticleSet &els)
void resize(int NT, int NC)
virtual void evaluate(const ParticleSet &P, ParticleSet &QP)=0
calculate quasi-particle coordinates only
virtual bool isOptimizable()=0
A container class to represent a walker.
virtual void resetParameters(const opt_variables_type &active)=0
void put(std::complex< T1 > &x)
Vector< PosType > UIJ_temp
virtual void registerData(WFBufferType &buf)=0
void get(std::complex< T1 > &x)