![]() |
QMCPACK
|
Public Member Functions | |
Backflow_ee_kSpace (ParticleSet &ions, ParticleSet &els) | |
void | initialize (ParticleSet &P, std::vector< RealType > &yk) |
void | resize (int NT) |
std::unique_ptr< BackflowFunctionBase > | makeClone (ParticleSet &tqp) const override |
void | addFunc (int ia, int ib) |
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 | |
bool | Optimize |
int | numParams |
std::vector< RealType > | Fk |
std::vector< int > | offsetPrms |
int | NumGroups |
int | NumKShells |
int | NumKVecs |
Vector< ComplexType > | Rhok |
Matrix< int > | PairID |
opt_variables_type | myVars |
set of variables to be optimized More... | |
![]() | |
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 Types | |
using | ComplexType = QMCTraits::ComplexType |
using | opt_variables_type = optimize::VariableSet |
typedef for real values 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_kSpace.h.
|
private |
Definition at line 28 of file Backflow_ee_kSpace.h.
|
private |
typedef for real values
typedef for variableset: this is going to be replaced
Definition at line 32 of file Backflow_ee_kSpace.h.
|
inline |
Definition at line 50 of file Backflow_ee_kSpace.h.
References ParticleSet::GroupID, ParticleSet::groups(), Backflow_ee_kSpace::NumGroups, Backflow_ee_kSpace::numParams, BackflowFunctionBase::NumTargets, Backflow_ee_kSpace::offsetPrms, Backflow_ee_kSpace::Optimize, Backflow_ee_kSpace::PairID, Backflow_ee_kSpace::resize(), and Matrix< T, Alloc >::resize().
|
inlineoverridevirtual |
Implements BackflowFunctionBase.
Definition at line 173 of file Backflow_ee_kSpace.h.
References BackflowFunctionBase::AIJ, BackflowFunctionBase::BIJ, BackflowFunctionBase::ORB_PBYP_ALL, BackflowFunctionBase::ORB_PBYP_PARTIAL, BackflowFunctionBase::ORB_PBYP_RATIO, Matrix< T, Alloc >::rows(), and BackflowFunctionBase::UIJ.
|
inline |
Definition at line 101 of file Backflow_ee_kSpace.h.
Referenced by BackflowBuilder::makeLongRange_twoBody().
|
inlineoverridevirtual |
Implements BackflowFunctionBase.
Definition at line 151 of file Backflow_ee_kSpace.h.
References VariableSet::insertFrom(), Backflow_ee_kSpace::myVars, and Backflow_ee_kSpace::Optimize.
|
inlineoverridevirtual |
Implements BackflowFunctionBase.
Definition at line 157 of file Backflow_ee_kSpace.h.
References VariableSet::getIndex(), Backflow_ee_kSpace::myVars, and Backflow_ee_kSpace::Optimize.
|
inlineoverridevirtual |
calculate quasi-particle coordinates only
Implements BackflowFunctionBase.
Definition at line 255 of file Backflow_ee_kSpace.h.
|
inline |
Definition at line 261 of file Backflow_ee_kSpace.h.
References APP_ABORT.
|
inlineoverridevirtual |
calculate quasi-particle coordinates, Bmat and Amat
Implements BackflowFunctionBase.
Definition at line 269 of file Backflow_ee_kSpace.h.
|
inlineoverridevirtual |
calculate only Bmat This is used in pbyp moves, in updateBuffer()
Implements BackflowFunctionBase.
Definition at line 319 of file Backflow_ee_kSpace.h.
|
inlineoverridevirtual |
calculate quasi-particle coordinates after pbyp move
Implements BackflowFunctionBase.
Definition at line 277 of file Backflow_ee_kSpace.h.
|
inlineoverridevirtual |
calculate quasi-particle coordinates after pbyp move
Implements BackflowFunctionBase.
Definition at line 284 of file Backflow_ee_kSpace.h.
|
inlineoverridevirtual |
calculate quasi-particle coordinates and Amat after pbyp move
Implements BackflowFunctionBase.
Definition at line 288 of file Backflow_ee_kSpace.h.
|
inlineoverridevirtual |
calculate quasi-particle coordinates and Amat after pbyp move
Implements BackflowFunctionBase.
Definition at line 296 of file Backflow_ee_kSpace.h.
|
inlineoverridevirtual |
calculate quasi-particle coordinates and Amat after pbyp move
Implements BackflowFunctionBase.
Definition at line 300 of file Backflow_ee_kSpace.h.
|
inlineoverridevirtual |
calculate quasi-particle coordinates and Amat after pbyp move
Implements BackflowFunctionBase.
Definition at line 309 of file Backflow_ee_kSpace.h.
|
inlineoverridevirtual |
calculate quasi-particle coordinates, Bmat and Amat calculate derivatives wrt to variational parameters
Implements BackflowFunctionBase.
Definition at line 324 of file Backflow_ee_kSpace.h.
|
inlineoverridevirtual |
Implements BackflowFunctionBase.
Definition at line 165 of file Backflow_ee_kSpace.h.
References Backflow_ee_kSpace::myVars, Backflow_ee_kSpace::Optimize, and VariableSet::where().
|
inline |
Definition at line 63 of file Backflow_ee_kSpace.h.
References Backflow_ee_kSpace::Fk, ParticleSet::getSimulationCell(), Backflow_ee_kSpace::NumKShells, Backflow_ee_kSpace::NumKVecs, Backflow_ee_kSpace::numParams, Backflow_ee_kSpace::Optimize, Vector< T, Alloc >::resize(), and Backflow_ee_kSpace::Rhok.
Referenced by BackflowBuilder::makeLongRange_twoBody().
|
inlineoverridevirtual |
Implements BackflowFunctionBase.
Definition at line 163 of file Backflow_ee_kSpace.h.
References Backflow_ee_kSpace::Optimize.
|
inlineoverridevirtual |
Implements BackflowFunctionBase.
Definition at line 75 of file Backflow_ee_kSpace.h.
References BackflowFunctionBase::CenterSys, qmcplusplus::clone, and BackflowFunctionBase::NumTargets.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements BackflowFunctionBase.
Definition at line 132 of file Backflow_ee_kSpace.h.
References Backflow_ee_kSpace::myVars, and VariableSet::print().
|
inlineoverridevirtual |
Implements BackflowFunctionBase.
Definition at line 134 of file Backflow_ee_kSpace.h.
References Backflow_ee_kSpace::Fk, Backflow_ee_kSpace::myVars, Backflow_ee_kSpace::Optimize, and VariableSet::where().
|
inline |
Definition at line 73 of file Backflow_ee_kSpace.h.
References BackflowFunctionBase::NumTargets.
Referenced by Backflow_ee_kSpace::Backflow_ee_kSpace().
|
inlineoverridevirtual |
Implements BackflowFunctionBase.
Definition at line 246 of file Backflow_ee_kSpace.h.
std::vector<RealType> Fk |
Definition at line 38 of file Backflow_ee_kSpace.h.
Referenced by Backflow_ee_kSpace::initialize(), and Backflow_ee_kSpace::resetParameters().
opt_variables_type myVars |
set of variables to be optimized
Definition at line 48 of file Backflow_ee_kSpace.h.
Referenced by Backflow_ee_kSpace::checkInVariables(), Backflow_ee_kSpace::checkOutVariables(), Backflow_ee_kSpace::indexOffset(), BackflowBuilder::makeLongRange_twoBody(), Backflow_ee_kSpace::reportStatus(), and Backflow_ee_kSpace::resetParameters().
int NumGroups |
Definition at line 40 of file Backflow_ee_kSpace.h.
Referenced by Backflow_ee_kSpace::Backflow_ee_kSpace().
int NumKShells |
Definition at line 41 of file Backflow_ee_kSpace.h.
Referenced by Backflow_ee_kSpace::initialize(), and BackflowBuilder::makeLongRange_twoBody().
int NumKVecs |
Definition at line 42 of file Backflow_ee_kSpace.h.
Referenced by Backflow_ee_kSpace::initialize().
int numParams |
Definition at line 37 of file Backflow_ee_kSpace.h.
Referenced by Backflow_ee_kSpace::Backflow_ee_kSpace(), Backflow_ee_kSpace::initialize(), and BackflowBuilder::makeLongRange_twoBody().
std::vector<int> offsetPrms |
Definition at line 39 of file Backflow_ee_kSpace.h.
Referenced by Backflow_ee_kSpace::Backflow_ee_kSpace().
bool Optimize |
Definition at line 36 of file Backflow_ee_kSpace.h.
Referenced by Backflow_ee_kSpace::Backflow_ee_kSpace(), Backflow_ee_kSpace::checkInVariables(), Backflow_ee_kSpace::checkOutVariables(), Backflow_ee_kSpace::indexOffset(), Backflow_ee_kSpace::initialize(), Backflow_ee_kSpace::isOptimizable(), BackflowBuilder::makeLongRange_twoBody(), and Backflow_ee_kSpace::resetParameters().
Matrix<int> PairID |
Definition at line 46 of file Backflow_ee_kSpace.h.
Referenced by Backflow_ee_kSpace::Backflow_ee_kSpace().
Vector<ComplexType> Rhok |
Definition at line 44 of file Backflow_ee_kSpace.h.
Referenced by Backflow_ee_kSpace::initialize().