13 #ifndef QMCPLUSPLUS_SPACEWARP_H 14 #define QMCPLUSPLUS_SPACEWARP_H This implements the differential space warp transformation for ZVZB estimators given by Sorella & Cap...
Matrix< PosType > gradval
Nelec x Nion matrix of F(|r_i-R_J|)
helper functions for EinsplineSetBuilder
ParticleSet::ParticleGradient ParticleGradient
ParticleSet::ParticlePos Force_t
RealType df(RealType r)
Derivative of space warp transformation function F(r) w.r.t.
RealType swpow
Power of space warp transformation. Right now, r^{-swpow}.
void setPow(RealType swpow_in)
Sets the exponent for power law space warp transformation.
Matrix< RealType > warpval
Nelec x Nion matrix of F(|r_i-R_J|)
Attaches a unit to a Vector for IO.
const int myTableIndex
The electron-ion table index in electron table.
ParticleSet::ParticleScalar ParticleScalar
Specialized paritlce class for atomistic simulations.
RealType f(RealType r)
Space warp transformation function F(r).
void computeSWT(ParticleSet &elec, const ParticleSet &ions, Force_t &dEl, ParticleGradient &dlogpsi, Force_t &el_contribution, Force_t &psi_contribution)
Takes in precomputed grad(E_L) and grad(logPsi) and computes the ZV and ZB space warp contributions t...
void computeSWTIntermediates(ParticleSet &P, const ParticleSet &ions)
Computes intermediate matrices required to build all space warp components and gradients.
ParticleAttrib< SingleParticlePos > ParticlePos
ParticleAttrib< QTFull::GradType > ParticleGradient
void getSWT(int iat, ParticleScalar &w, Force_t &grad_w)
Generates required space warp quantities to generate the actual "Space Warp" contribution to the iat-...
ParticleAttrib< Scalar_t > ParticleScalar
SpaceWarpTransformation(ParticleSet &elns, const ParticleSet &ions)