![]() |
QMCPACK
|
Public Member Functions | |
Backflow_eI (ParticleSet &ions, ParticleSet &els) | |
Backflow_eI (ParticleSet &ions, ParticleSet &els, FT *RF) | |
std::unique_ptr< BackflowFunctionBase > | makeClone (ParticleSet &tqp) const 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 | registerData (WFBufferType &buf) 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_full, HessMatrix &Amat) override |
calculate quasi-particle coordinates, Bmat and Amat after pbyp move More... | |
void | evaluatePbyP (const ParticleSet &P, int iat, ParticleSet::ParticlePos &newQP, GradMatrix &Bmat_full, HessMatrix &Amat) override |
calculate quasi-particle coordinates, Bmat 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 |
![]() | |
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_eI.h.
|
inline |
Definition at line 37 of file Backflow_eI.h.
References BackflowFunctionBase::NumCenters, BackflowFunctionBase::NumTargets, and BackflowFunctionBase::resize().
|
inline |
Definition at line 43 of file Backflow_eI.h.
References BackflowFunctionBase::NumCenters, Backflow_eI< FT >::RadFun, and Backflow_eI< FT >::uniqueRadFun.
|
inlineoverridevirtual |
Implements BackflowFunctionBase.
Definition at line 122 of file Backflow_eI.h.
References BackflowFunctionBase::AIJ, BackflowFunctionBase::AIJ_temp, BackflowFunctionBase::BIJ, BackflowFunctionBase::BIJ_temp, Matrix< T, Alloc >::cols(), BackflowFunctionBase::ORB_PBYP_ALL, BackflowFunctionBase::ORB_PBYP_PARTIAL, BackflowFunctionBase::ORB_PBYP_RATIO, BackflowFunctionBase::UIJ, and BackflowFunctionBase::UIJ_temp.
|
inlineoverridevirtual |
Implements BackflowFunctionBase.
Definition at line 99 of file Backflow_eI.h.
References Backflow_eI< FT >::uniqueRadFun.
|
inlineoverridevirtual |
Implements BackflowFunctionBase.
Definition at line 105 of file Backflow_eI.h.
References Backflow_eI< FT >::uniqueRadFun.
|
inlineoverridevirtual |
calculate quasi-particle coordinates only
Implements BackflowFunctionBase.
Definition at line 190 of file Backflow_eI.h.
References APP_ABORT.
|
inline |
Definition at line 207 of file Backflow_eI.h.
References APP_ABORT.
|
inlineoverridevirtual |
calculate quasi-particle coordinates, Bmat and Amat
Implements BackflowFunctionBase.
Definition at line 236 of file Backflow_eI.h.
References BackflowFunctionBase::AIJ, BackflowFunctionBase::BIJ, DistanceTableAB::getDistRow(), ParticleSet::getDistTableAB(), ParticleSet::getTotalNum(), Backflow_eI< FT >::myTableIndex_, BackflowFunctionBase::NumCenters, qmcplusplus::outerProduct(), ParticleSet::R, Backflow_eI< FT >::RadFun, and BackflowFunctionBase::UIJ.
|
inlineoverridevirtual |
calculate only Bmat This is used in pbyp moves, in updateBuffer()
Implements BackflowFunctionBase.
Definition at line 406 of file Backflow_eI.h.
References APP_ABORT.
|
inlineoverridevirtual |
calculate quasi-particle coordinates after pbyp move
Implements BackflowFunctionBase.
Definition at line 267 of file Backflow_eI.h.
References APP_ABORT.
|
inlineoverridevirtual |
calculate quasi-particle coordinates after pbyp move
Implements BackflowFunctionBase.
Definition at line 287 of file Backflow_eI.h.
References ParticleSet::getDistTableAB(), Backflow_eI< FT >::myTableIndex_, Backflow_eI< FT >::RadFun, DistanceTable::sources(), BackflowFunctionBase::UIJ, and BackflowFunctionBase::UIJ_temp.
|
inlineoverridevirtual |
calculate quasi-particle coordinates and Amat after pbyp move
Implements BackflowFunctionBase.
Definition at line 300 of file Backflow_eI.h.
References APP_ABORT.
|
inlineoverridevirtual |
calculate quasi-particle coordinates and Amat after pbyp move
Implements BackflowFunctionBase.
Definition at line 325 of file Backflow_eI.h.
References BackflowFunctionBase::AIJ, BackflowFunctionBase::AIJ_temp, ParticleSet::getDistTableAB(), Backflow_eI< FT >::myTableIndex_, qmcplusplus::outerProduct(), Backflow_eI< FT >::RadFun, DistanceTable::sources(), BackflowFunctionBase::UIJ, and BackflowFunctionBase::UIJ_temp.
|
inlineoverridevirtual |
calculate quasi-particle coordinates, Bmat and Amat after pbyp move
Implements BackflowFunctionBase.
Definition at line 348 of file Backflow_eI.h.
References APP_ABORT.
|
inlineoverridevirtual |
calculate quasi-particle coordinates, Bmat and Amat after pbyp move
Implements BackflowFunctionBase.
Definition at line 376 of file Backflow_eI.h.
References APP_ABORT.
|
inlineoverridevirtual |
calculate quasi-particle coordinates, Bmat and Amat calculate derivatives wrt to variational parameters
Implements BackflowFunctionBase.
Definition at line 425 of file Backflow_eI.h.
References BackflowFunctionBase::AIJ, BackflowFunctionBase::BIJ, DistanceTableAB::getDistRow(), ParticleSet::getDistTableAB(), ParticleSet::getTotalNum(), BackflowFunctionBase::indexOfFirstParam, Backflow_eI< FT >::myTableIndex_, BackflowFunctionBase::NumCenters, Backflow_eI< FT >::offsetPrms, qmcplusplus::outerProduct(), ParticleSet::R, Backflow_eI< FT >::RadFun, and BackflowFunctionBase::UIJ.
|
inlineoverridevirtual |
Implements BackflowFunctionBase.
Definition at line 119 of file Backflow_eI.h.
References Backflow_eI< FT >::RadFun.
|
inlineoverridevirtual |
Implements BackflowFunctionBase.
Definition at line 111 of file Backflow_eI.h.
References Backflow_eI< FT >::uniqueRadFun.
Referenced by Backflow_eI< FT >::reportStatus().
|
inlineoverridevirtual |
Implements BackflowFunctionBase.
Definition at line 52 of file Backflow_eI.h.
References APP_ABORT, BackflowFunctionBase::CenterSys, qmcplusplus::clone, BackflowFunctionBase::derivs, BLAS::done, BackflowFunctionBase::indexOfFirstParam, BackflowFunctionBase::NumCenters, BackflowFunctionBase::numParams, BackflowFunctionBase::NumTargets, Backflow_eI< FT >::offsetPrms, Backflow_eI< FT >::RadFun, and Backflow_eI< FT >::uniqueRadFun.
|
inlineoverridevirtual |
Implements BackflowFunctionBase.
Definition at line 175 of file Backflow_eI.h.
References PooledMemory< T_scalar, Alloc >::add(), BackflowFunctionBase::AIJ, BackflowFunctionBase::BIJ, BackflowFunctionBase::FirstOfA, BackflowFunctionBase::FirstOfB, BackflowFunctionBase::FirstOfU, BackflowFunctionBase::LastOfA, BackflowFunctionBase::LastOfB, BackflowFunctionBase::LastOfU, BackflowFunctionBase::NumCenters, BackflowFunctionBase::NumTargets, OHMMS_DIM, and BackflowFunctionBase::UIJ.
|
inlineoverridevirtual |
Implements BackflowFunctionBase.
Definition at line 82 of file Backflow_eI.h.
References Backflow_eI< FT >::isOptimizable(), Backflow_eI< FT >::myTableIndex_, Backflow_eI< FT >::offsetPrms, Backflow_eI< FT >::RadFun, and Backflow_eI< FT >::uniqueRadFun.
|
inlineoverridevirtual |
Implements BackflowFunctionBase.
Definition at line 93 of file Backflow_eI.h.
References Backflow_eI< FT >::uniqueRadFun.
|
inlineoverridevirtual |
Implements BackflowFunctionBase.
Definition at line 168 of file Backflow_eI.h.
References BackflowFunctionBase::AIJ_temp, BackflowFunctionBase::BIJ_temp, and BackflowFunctionBase::UIJ_temp.
|
private |
distance table index
Definition at line 30 of file Backflow_eI.h.
Referenced by Backflow_eI< FT >::evaluate(), Backflow_eI< FT >::evaluatePbyP(), Backflow_eI< FT >::evaluateWithDerivatives(), and Backflow_eI< FT >::reportStatus().
std::vector<int> offsetPrms |
Definition at line 35 of file Backflow_eI.h.
Referenced by Backflow_eI< FT >::evaluateWithDerivatives(), Backflow_eI< FT >::makeClone(), and Backflow_eI< FT >::reportStatus().
std::vector<FT*> RadFun |
Definition at line 33 of file Backflow_eI.h.
Referenced by Backflow_eI< FT >::Backflow_eI(), Backflow_eI< FT >::evaluate(), Backflow_eI< FT >::evaluatePbyP(), Backflow_eI< FT >::evaluateWithDerivatives(), Backflow_eI< FT >::indexOffset(), Backflow_eI< FT >::makeClone(), and Backflow_eI< FT >::reportStatus().
std::vector<std::unique_ptr<FT> > uniqueRadFun |
Definition at line 34 of file Backflow_eI.h.
Referenced by Backflow_eI< FT >::Backflow_eI(), Backflow_eI< FT >::checkInVariables(), Backflow_eI< FT >::checkOutVariables(), Backflow_eI< FT >::isOptimizable(), Backflow_eI< FT >::makeClone(), Backflow_eI< FT >::reportStatus(), and Backflow_eI< FT >::resetParameters().