![]() |
QMCPACK
|
Public Member Functions | |
Backflow_ee (ParticleSet &ions, ParticleSet &els) | |
std::unique_ptr< BackflowFunctionBase > | makeClone (ParticleSet &tqp) const override |
void | addFunc (int ia, int ib, std::unique_ptr< FT > rf) |
void | registerData (WFBufferType &buf) override |
void | reportStatus (std::ostream &os) override |
void | resetParameters (const opt_variables_type &active) override |
void | checkInVariables (opt_variables_type &active) override |
void | checkOutVariables (const opt_variables_type &active) override |
bool | isOptimizable () override |
int | indexOffset () override |
void | acceptMove (int iat, int UpdateMode) override |
void | restore (int iat, int UpdateType) override |
void | evaluate (const ParticleSet &P, ParticleSet &QP) override |
calculate quasi-particle coordinates only More... | |
void | evaluate (const ParticleSet &P, ParticleSet &QP, GradVector &Bmat, HessMatrix &Amat) |
void | evaluate (const ParticleSet &P, ParticleSet &QP, GradMatrix &Bmat_full, HessMatrix &Amat) override |
calculate quasi-particle coordinates, Bmat and Amat More... | |
void | evaluatePbyP (const ParticleSet &P, ParticleSet::ParticlePos &newQP, const std::vector< int > &index) override |
calculate quasi-particle coordinates after pbyp move More... | |
void | evaluatePbyP (const ParticleSet &P, int iat, ParticleSet::ParticlePos &newQP) override |
calculate quasi-particle coordinates after pbyp move More... | |
void | evaluatePbyP (const ParticleSet &P, ParticleSet::ParticlePos &newQP, const std::vector< int > &index, HessMatrix &Amat) override |
calculate quasi-particle coordinates and Amat after pbyp move More... | |
void | evaluatePbyP (const ParticleSet &P, int iat, ParticleSet::ParticlePos &newQP, HessMatrix &Amat) override |
calculate quasi-particle coordinates and Amat after pbyp move More... | |
void | evaluatePbyP (const ParticleSet &P, ParticleSet::ParticlePos &newQP, const std::vector< int > &index, GradMatrix &Bmat, HessMatrix &Amat) override |
calculate quasi-particle coordinates and Amat after pbyp move More... | |
void | evaluatePbyP (const ParticleSet &P, int iat, ParticleSet::ParticlePos &newQP, GradMatrix &Bmat, HessMatrix &Amat) override |
calculate quasi-particle coordinates and Amat after pbyp move More... | |
void | evaluateBmatOnly (const ParticleSet &P, GradMatrix &Bmat_full) override |
calculate only Bmat This is used in pbyp moves, in updateBuffer() More... | |
void | evaluateWithDerivatives (const ParticleSet &P, ParticleSet &QP, GradMatrix &Bmat_full, HessMatrix &Amat, GradMatrix &Cmat, GradMatrix &Ymat, HessArray &Xmat) override |
calculate quasi-particle coordinates, Bmat and Amat calculate derivatives wrt to variational parameters More... | |
![]() | |
BackflowFunctionBase (ParticleSet &ions, ParticleSet &els) | |
void | resize (int NT, int NC) |
virtual | ~BackflowFunctionBase () |
int | setParamIndex (int n) |
void | updateBuffer (WFBufferType &buf) |
void | copyFromBuffer (WFBufferType &buf) |
Public Attributes | |
std::vector< FT * > | RadFun |
std::vector< std::unique_ptr< FT > > | uniqueRadFun |
std::vector< int > | offsetPrms |
int | NumGroups |
Matrix< int > | PairID |
bool | first |
![]() | |
ParticleSet & | CenterSys |
Reference to the center. More... | |
int | NumCenters |
number of centers, e.g., ions More... | |
int | NumTargets |
number of quantum particles More... | |
int | numParams |
int | indexOfFirstParam |
std::vector< TinyVector< RealType, 3 > > | derivs |
Matrix< PosType > | UIJ |
Vector< PosType > | UIJ_temp |
HessMatrix | AIJ |
HessVector | AIJ_temp |
GradMatrix | BIJ |
GradVector | BIJ_temp |
RealType * | FirstOfU |
RealType * | LastOfU |
RealType * | FirstOfA |
RealType * | LastOfA |
RealType * | FirstOfB |
RealType * | LastOfB |
bool | uniqueFunctions |
opt_variables_type | myVars |
Private Attributes | |
const int | myTableIndex_ |
distance table index More... | |
Additional Inherited Members | |
![]() | |
enum | { DIM = OHMMS_DIM } |
enum | { ORB_PBYP_RATIO, ORB_PBYP_ALL, ORB_PBYP_PARTIAL, ORB_WALKER, ORB_ALLWALKER } |
enum for a update mode More... | |
using | Walker_t = ParticleSet::Walker_t |
using | WFBufferType = Walker_t::WFBuffer_t |
using | RealType = OHMMS_PRECISION |
using | IndexType = int |
using | PosType = TinyVector< RealType, DIM > |
using | GradType = TinyVector< RealType, DIM > |
using | HessType = Tensor< RealType, DIM > |
using | IndexVector = Vector< IndexType > |
using | GradVector = Vector< GradType > |
using | GradMatrix = Matrix< GradType > |
using | HessVector = Vector< HessType > |
using | HessMatrix = Matrix< HessType > |
using | HessArray = Array< HessType, 3 > |
Definition at line 26 of file Backflow_ee.h.
|
inline |
Definition at line 41 of file Backflow_ee.h.
References ParticleSet::GroupID, ParticleSet::groups(), Backflow_ee< FT >::NumGroups, BackflowFunctionBase::NumTargets, Backflow_ee< FT >::offsetPrms, Backflow_ee< FT >::PairID, Backflow_ee< FT >::RadFun, Matrix< T, Alloc >::resize(), and BackflowFunctionBase::resize().
|
inlineoverridevirtual |
Implements BackflowFunctionBase.
Definition at line 151 of file Backflow_ee.h.
References BackflowFunctionBase::AIJ, BackflowFunctionBase::AIJ_temp, BackflowFunctionBase::BIJ, BackflowFunctionBase::BIJ_temp, BackflowFunctionBase::ORB_PBYP_ALL, BackflowFunctionBase::ORB_PBYP_PARTIAL, BackflowFunctionBase::ORB_PBYP_RATIO, Matrix< T, Alloc >::rows(), BackflowFunctionBase::UIJ, and BackflowFunctionBase::UIJ_temp.
|
inline |
Definition at line 87 of file Backflow_ee.h.
References Backflow_ee< FT >::first, Backflow_ee< FT >::NumGroups, Backflow_ee< FT >::RadFun, and Backflow_ee< FT >::uniqueRadFun.
|
inlineoverridevirtual |
Implements BackflowFunctionBase.
Definition at line 129 of file Backflow_ee.h.
References Backflow_ee< FT >::uniqueRadFun.
|
inlineoverridevirtual |
Implements BackflowFunctionBase.
Definition at line 135 of file Backflow_ee.h.
References Backflow_ee< FT >::uniqueRadFun.
|
inlineoverridevirtual |
calculate quasi-particle coordinates only
Implements BackflowFunctionBase.
Definition at line 233 of file Backflow_ee.h.
References APP_ABORT.
|
inline |
Definition at line 253 of file Backflow_ee.h.
References APP_ABORT.
|
inlineoverridevirtual |
calculate quasi-particle coordinates, Bmat and Amat
Implements BackflowFunctionBase.
Definition at line 295 of file Backflow_ee.h.
References BackflowFunctionBase::AIJ, BackflowFunctionBase::BIJ, ParticleSet::first(), DistanceTableAA::getDistRow(), ParticleSet::getDistTableAA(), ParticleSet::last(), Backflow_ee< FT >::myTableIndex_, Backflow_ee< FT >::NumGroups, OHMMS_DIM, qmcplusplus::outerProduct(), Backflow_ee< FT >::PairID, ParticleSet::R, Backflow_ee< FT >::RadFun, and BackflowFunctionBase::UIJ.
|
inlineoverridevirtual |
calculate only Bmat This is used in pbyp moves, in updateBuffer()
Implements BackflowFunctionBase.
Definition at line 608 of file Backflow_ee.h.
References APP_ABORT.
|
inlineoverridevirtual |
calculate quasi-particle coordinates after pbyp move
Implements BackflowFunctionBase.
Definition at line 346 of file Backflow_ee.h.
References APP_ABORT.
|
inlineoverridevirtual |
calculate quasi-particle coordinates after pbyp move
Implements BackflowFunctionBase.
Definition at line 367 of file Backflow_ee.h.
References ParticleSet::getDistTableAA(), Backflow_ee< FT >::myTableIndex_, BackflowFunctionBase::NumTargets, Backflow_ee< FT >::PairID, Backflow_ee< FT >::RadFun, BackflowFunctionBase::UIJ, and BackflowFunctionBase::UIJ_temp.
|
inlineoverridevirtual |
calculate quasi-particle coordinates and Amat after pbyp move
Implements BackflowFunctionBase.
Definition at line 391 of file Backflow_ee.h.
References APP_ABORT.
|
inlineoverridevirtual |
calculate quasi-particle coordinates and Amat after pbyp move
Implements BackflowFunctionBase.
Definition at line 428 of file Backflow_ee.h.
References BackflowFunctionBase::AIJ, BackflowFunctionBase::AIJ_temp, ParticleSet::getDistTableAA(), Backflow_ee< FT >::myTableIndex_, BackflowFunctionBase::NumTargets, qmcplusplus::outerProduct(), Backflow_ee< FT >::PairID, Backflow_ee< FT >::RadFun, BackflowFunctionBase::UIJ, and BackflowFunctionBase::UIJ_temp.
|
inlineoverridevirtual |
calculate quasi-particle coordinates and Amat after pbyp move
Implements BackflowFunctionBase.
Definition at line 486 of file Backflow_ee.h.
References APP_ABORT.
|
inlineoverridevirtual |
calculate quasi-particle coordinates and Amat after pbyp move
Implements BackflowFunctionBase.
Definition at line 533 of file Backflow_ee.h.
References APP_ABORT.
|
inlineoverridevirtual |
calculate quasi-particle coordinates, Bmat and Amat calculate derivatives wrt to variational parameters
Implements BackflowFunctionBase.
Definition at line 631 of file Backflow_ee.h.
References BackflowFunctionBase::AIJ, BackflowFunctionBase::BIJ, ParticleSet::first(), DistanceTableAA::getDistRow(), ParticleSet::getDistTableAA(), BackflowFunctionBase::indexOfFirstParam, ParticleSet::last(), Backflow_ee< FT >::myTableIndex_, Backflow_ee< FT >::NumGroups, Backflow_ee< FT >::offsetPrms, OHMMS_DIM, qmcplusplus::outerProduct(), Backflow_ee< FT >::PairID, ParticleSet::R, Backflow_ee< FT >::RadFun, and BackflowFunctionBase::UIJ.
|
inlineoverridevirtual |
Implements BackflowFunctionBase.
Definition at line 149 of file Backflow_ee.h.
References Backflow_ee< FT >::RadFun.
|
inlineoverridevirtual |
Implements BackflowFunctionBase.
Definition at line 141 of file Backflow_ee.h.
References Backflow_ee< FT >::uniqueRadFun.
|
inlineoverridevirtual |
Implements BackflowFunctionBase.
Definition at line 56 of file Backflow_ee.h.
References APP_ABORT, qmcplusplus::clone, BackflowFunctionBase::derivs, BLAS::done, BackflowFunctionBase::numParams, BackflowFunctionBase::NumTargets, Backflow_ee< FT >::offsetPrms, Backflow_ee< FT >::RadFun, and Backflow_ee< FT >::uniqueRadFun.
|
inlineoverridevirtual |
Implements BackflowFunctionBase.
Definition at line 104 of file Backflow_ee.h.
References PooledMemory< T_scalar, Alloc >::add(), BackflowFunctionBase::AIJ, BackflowFunctionBase::BIJ, BackflowFunctionBase::FirstOfA, BackflowFunctionBase::FirstOfB, BackflowFunctionBase::FirstOfU, BackflowFunctionBase::LastOfA, BackflowFunctionBase::LastOfB, BackflowFunctionBase::LastOfU, BackflowFunctionBase::NumTargets, OHMMS_DIM, and BackflowFunctionBase::UIJ.
|
inlineoverridevirtual |
Implements BackflowFunctionBase.
Definition at line 117 of file Backflow_ee.h.
References Backflow_ee< FT >::uniqueRadFun.
|
inlineoverridevirtual |
Implements BackflowFunctionBase.
Definition at line 123 of file Backflow_ee.h.
References Backflow_ee< FT >::uniqueRadFun.
|
inlineoverridevirtual |
Implements BackflowFunctionBase.
Definition at line 224 of file Backflow_ee.h.
References BackflowFunctionBase::AIJ_temp, BackflowFunctionBase::BIJ_temp, and BackflowFunctionBase::UIJ_temp.
bool first |
Definition at line 39 of file Backflow_ee.h.
Referenced by Backflow_ee< FT >::addFunc().
|
private |
distance table index
Definition at line 30 of file Backflow_ee.h.
Referenced by Backflow_ee< FT >::evaluate(), Backflow_ee< FT >::evaluatePbyP(), and Backflow_ee< FT >::evaluateWithDerivatives().
int NumGroups |
Definition at line 37 of file Backflow_ee.h.
Referenced by Backflow_ee< FT >::addFunc(), Backflow_ee< FT >::Backflow_ee(), Backflow_ee< FT >::evaluate(), and Backflow_ee< FT >::evaluateWithDerivatives().
std::vector<int> offsetPrms |
Definition at line 36 of file Backflow_ee.h.
Referenced by Backflow_ee< FT >::Backflow_ee(), Backflow_ee< FT >::evaluateWithDerivatives(), and Backflow_ee< FT >::makeClone().
Matrix<int> PairID |
Definition at line 38 of file Backflow_ee.h.
Referenced by Backflow_ee< FT >::Backflow_ee(), Backflow_ee< FT >::evaluate(), Backflow_ee< FT >::evaluatePbyP(), and Backflow_ee< FT >::evaluateWithDerivatives().
std::vector<FT*> RadFun |
Definition at line 34 of file Backflow_ee.h.
Referenced by Backflow_ee< FT >::addFunc(), Backflow_ee< FT >::Backflow_ee(), Backflow_ee< FT >::evaluate(), Backflow_ee< FT >::evaluatePbyP(), Backflow_ee< FT >::evaluateWithDerivatives(), Backflow_ee< FT >::indexOffset(), and Backflow_ee< FT >::makeClone().
std::vector<std::unique_ptr<FT> > uniqueRadFun |
Definition at line 35 of file Backflow_ee.h.
Referenced by Backflow_ee< FT >::addFunc(), Backflow_ee< FT >::checkInVariables(), Backflow_ee< FT >::checkOutVariables(), Backflow_ee< FT >::isOptimizable(), Backflow_ee< FT >::makeClone(), Backflow_ee< FT >::reportStatus(), and Backflow_ee< FT >::resetParameters().