![]() |
QMCPACK
|
Classes to handle many-body trial wave functions. More...
Classes | |
class | TrialWaveFunction |
Class to represent a many-body trial wave function. More... | |
Classes to handle many-body trial wave functions.
class qmcplusplus::TrialWaveFunction |
Class to represent a many-body trial wave function.
A many-body trial wave function is represented by , where each function
is an WaveFunctionComponent (see WaveFunctionComponent). A Composite Pattern is used to handle
operations. Each WaveFunctionComponent should provide proper evaluate functions for the value, gradient and laplacian values.
mw_ prefix is a function name signature indicating it is for handling a batch of TrialWaveFunction objects in a lock-step fashion. These functions are defined statically because they should not have access to a concrete TWF object except through the passed RefVectorWithLeader<TWF>&. It dispatches to mw_ functions of WaveFunctionComponent
Definition at line 60 of file TrialWaveFunction.h.
Public Types | |
enum | ComputeType { ALL, FERMIONIC, NONFERMIONIC } |
enum type for computing partial WaveFunctionComponents More... | |
using | RealType = WaveFunctionComponent::RealType |
using | ComplexType = WaveFunctionComponent::ComplexType |
using | FullPrecRealType = WaveFunctionComponent::FullPrecRealType |
using | ValueType = WaveFunctionComponent::ValueType |
using | ValueVector = WaveFunctionComponent::ValueVector |
using | GradType = WaveFunctionComponent::GradType |
using | BufferType = WaveFunctionComponent::BufferType |
using | WFBufferType = WaveFunctionComponent::WFBufferType |
using | HessType = WaveFunctionComponent::HessType |
using | HessVector = WaveFunctionComponent::HessVector |
using | LogValue = WaveFunctionComponent::LogValue |
using | PsiValue = WaveFunctionComponent::PsiValue |
using | SPOMap = SPOSet::SPOMap |
Public Member Functions | |
TrialWaveFunction (const RuntimeOptions &runtime_options, const std::string_view aname="psi0", bool tasking=false) | |
TrialWaveFunction (const TrialWaveFunction &)=delete | |
TrialWaveFunction & | operator= (const TrialWaveFunction &)=delete |
~TrialWaveFunction () | |
Destructor. More... | |
int | size () const |
RealType | getPhase () const |
void | setPhase (RealType PhaseValue_new) |
void | getLogs (std::vector< RealType > &lvals) |
void | getPhases (std::vector< RealType > &pvals) |
RealType | getPhaseDiff () const |
void | resetPhaseDiff () |
RealType | getLogPsi () const |
void | setLogPsi (RealType LogPsi_new) |
void | addComponent (std::unique_ptr< WaveFunctionComponent > &&aterm) |
add a WaveFunctionComponent More... | |
bool | put (xmlNodePtr cur) |
read from xmlNode More... | |
UniqueOptObjRefs | extractOptimizableObjectRefs () |
extract underlying OptimizableObject references More... | |
void | checkInVariables (opt_variables_type &o) |
Check in an optimizable parameter. More... | |
void | checkOutVariables (const opt_variables_type &o) |
Check out optimizable variables Assign index mappings from global list (o) to local values in each component. More... | |
void | resetParameters (const opt_variables_type &active) |
Set values of parameters in each component from the global list. More... | |
void | reportStatus (std::ostream &os) |
print out state of the trial wavefunction More... | |
void | initializeTWFFastDerivWrapper (const ParticleSet &P, TWFFastDerivWrapper &twf) const |
Initialize a TWF wrapper for fast derivative evaluation. More... | |
RealType | evaluateLog (ParticleSet &P) |
evalaute the log (internally gradients and laplacian) of the trial wavefunction. More... | |
void | recompute (const ParticleSet &P) |
recompute the value of the orbitals which require critical accuracy More... | |
RealType | evaluateDeltaLog (ParticleSet &P, bool recompute=false) |
evaluate the log value of a many-body wave function More... | |
void | evaluateDeltaLogSetup (ParticleSet &P, RealType &logpsi_fixed, RealType &logpsi_opt, ParticleSet::ParticleGradient &fixedG, ParticleSet::ParticleLaplacian &fixedL) |
evaluate the sum of log value of optimizable many-body wavefunctions More... | |
ValueType | calcRatio (ParticleSet &P, int iat, ComputeType ct=ComputeType::ALL) |
compute psi(R_new) / psi(R_current) ratio It returns a complex value if the wavefunction is complex. More... | |
void | evaluateRatios (const VirtualParticleSet &VP, std::vector< ValueType > &ratios, ComputeType ct=ComputeType::ALL) |
compulte multiple ratios to handle non-local moves and other virtual moves More... | |
void | evaluateSpinorRatios (const VirtualParticleSet &VP, const std::pair< ValueVector, ValueVector > &spinor_multiplier, std::vector< ValueType > &ratios) const |
Used by SOECPComponent to do faster SOC evaluation. More... | |
void | evaluateDerivRatios (const VirtualParticleSet &VP, const opt_variables_type &optvars, std::vector< ValueType > &ratios, Matrix< ValueType > &dratio) |
compute both ratios and deriatives of ratio with respect to the optimizables More... | |
void | printGL (ParticleSet::ParticleGradient &G, ParticleSet::ParticleLaplacian &L, std::string tag="GL") |
GradType | evalGradSource (ParticleSet &P, ParticleSet &source, int iat) |
Returns the logarithmic gradient of the trial wave function with respect to the iat^th atom of the source ParticleSet. More... | |
GradType | evalGradSource (ParticleSet &P, ParticleSet &source, int iat, TinyVector< ParticleSet::ParticleGradient, OHMMS_DIM > &grad_grad, TinyVector< ParticleSet::ParticleLaplacian, OHMMS_DIM > &lapl_grad) |
Returns the logarithmic gradient of the w.r.t. More... | |
ValueType | calcRatioGrad (ParticleSet &P, int iat, GradType &grad_iat) |
compute psi(R_new) / psi(R_current) ratio and ln(psi(R_new)) gradients It returns a complex value if the wavefunction is complex. More... | |
ValueType | calcRatioGradWithSpin (ParticleSet &P, int iat, GradType &grad_iat, ComplexType &spingrad_iat) |
compute psi(R_new) / psi(R_current) ratio and d/ds ln(psi(R_new)) spin gradient It returns a complex value if the wavefunction is complex. More... | |
void | prepareGroup (ParticleSet &P, int ig) |
Prepare internal data for updating WFC correspond to a particle group Particle groups usually correspond to determinants of different spins. More... | |
GradType | evalGrad (ParticleSet &P, int iat) |
GradType | evalGradWithSpin (ParticleSet &P, int iat, ComplexType &spingrad) |
compute d/ds ln(psi) spin gradient at current particle position for iat electron More... | |
void | rejectMove (int iat) |
restore to the original state More... | |
void | acceptMove (ParticleSet &P, int iat, bool safe_to_delay=false) |
update the state with the new data More... | |
void | completeUpdates () |
complete all the delayed or asynchronous operations before leaving the p-by-p move region. More... | |
LogValue | evaluateGL (ParticleSet &P, bool fromscratch) |
compute gradients and laplacian of the TWF with respect to each particle. More... | |
void | registerData (ParticleSet &P, WFBufferType &buf) |
register all the wavefunction components in buffer. More... | |
RealType | updateBuffer (ParticleSet &P, WFBufferType &buf, bool fromscratch=false) |
update all the wavefunction components in buffer. More... | |
void | copyFromBuffer (ParticleSet &P, WFBufferType &buf) |
copy all the wavefunction components from buffer. More... | |
void | createResource (ResourceCollection &collection) const |
initialize a shared resource and hand it to a collection More... | |
RealType | KECorrection () const |
void | evaluateDerivatives (ParticleSet &P, const opt_variables_type &optvars, Vector< ValueType > &dlogpsi, Vector< ValueType > &dhpsioverpsi) |
evaluate derivatives of KE wrt optimizable varibles More... | |
void | evaluateDerivativesWF (ParticleSet &P, const opt_variables_type &optvars, Vector< ValueType > &dlogpsi) |
void | evaluateGradDerivatives (const ParticleSet::ParticleGradient &G_in, std::vector< ValueType > &dgradlogpsi) |
void | evaluateHessian (ParticleSet &P, HessVector &all_grad_grad_psi) |
evaluate the hessian w.r.t. More... | |
std::unique_ptr< TrialWaveFunction > | makeClone (ParticleSet &tqp) const |
std::vector< std::unique_ptr< WaveFunctionComponent > > const & | getOrbitals () |
void | evaluateRatiosAlltoOne (ParticleSet &P, std::vector< ValueType > &ratios) |
void | setTwist (const std::vector< RealType > &t) |
void | setTwist (std::vector< RealType > &&t) |
const std::vector< RealType > & | twist () const |
void | setMassTerm (ParticleSet &P) |
RealType | getReciprocalMass () |
const std::string & | getName () const |
bool | use_tasking () const |
void | storeXMLNode (xmlNodePtr node) |
xmlNodePtr | getNode () const |
void | storeSPOMap (SPOMap &&spomap) |
store an SPOSet map More... | |
const SPOSet & | getSPOSet (const std::string &name) const |
look up SPOSet named 'name', if not found, throw exception. More... | |
const SPOMap & | getSPOMap () const |
spomap_ reference accessor More... | |
RefVector< MultiSlaterDetTableMethod > | findMSD () const |
find MSD WFCs if exist More... | |
Static Public Member Functions | |
static void | mw_evaluateLog (const RefVectorWithLeader< TrialWaveFunction > &wf_list, const RefVectorWithLeader< ParticleSet > &p_list) |
batched version of evaluateLog. More... | |
static void | mw_recompute (const RefVectorWithLeader< TrialWaveFunction > &wf_list, const RefVectorWithLeader< ParticleSet > &p_list, const std::vector< bool > &recompute) |
batched version of recompute More... | |
static void | mw_evaluateDeltaLogSetup (const RefVectorWithLeader< TrialWaveFunction > &wf_list, const RefVectorWithLeader< ParticleSet > &p_list, std::vector< RealType > &logpsi_fixed_list, std::vector< RealType > &logpsi_opt_list, RefVector< ParticleSet::ParticleGradient > &fixedG_list, RefVector< ParticleSet::ParticleLaplacian > &fixedL_list) |
evaluate the sum of log value of optimizable many-body wavefunctions More... | |
static void | mw_evaluateDeltaLog (const RefVectorWithLeader< TrialWaveFunction > &wf_list, const RefVectorWithLeader< ParticleSet > &p_list, std::vector< RealType > &logpsi_list, RefVector< ParticleSet::ParticleGradient > &dummyG_list, RefVector< ParticleSet::ParticleLaplacian > &dummyL_list, bool recompute=false) |
evaluate the log value for optimizable parts of a many-body wave function More... | |
static void | mw_calcRatio (const RefVectorWithLeader< TrialWaveFunction > &wf_list, const RefVectorWithLeader< ParticleSet > &p_list, int iat, std::vector< PsiValue > &ratios, ComputeType ct=ComputeType::ALL) |
batched version of calcRatio More... | |
static void | mw_evaluateRatios (const RefVectorWithLeader< TrialWaveFunction > &wf_list, const RefVectorWithLeader< const VirtualParticleSet > &Vp_list, const RefVector< std::vector< ValueType >> &ratios_list, ComputeType ct=ComputeType::ALL) |
batched version of evaluateRatios Note: unlike other mw_ static functions, *this is the batch leader instead of wf_list[0]. More... | |
template<CoordsType CT> | |
static void | mw_calcRatioGrad (const RefVectorWithLeader< TrialWaveFunction > &wf_list, const RefVectorWithLeader< ParticleSet > &p_list, int iat, std::vector< PsiValue > &ratios, TWFGrads< CT > &grads) |
batched version of ratioGrad More... | |
static void | mw_prepareGroup (const RefVectorWithLeader< TrialWaveFunction > &wf_list, const RefVectorWithLeader< ParticleSet > &p_list, int ig) |
batched version of prepareGroup More... | |
template<CoordsType CT> | |
static void | mw_evalGrad (const RefVectorWithLeader< TrialWaveFunction > &wf_list, const RefVectorWithLeader< ParticleSet > &p_list, int iat, TWFGrads< CT > &grads) |
batched version of evalGrad More... | |
static void | mw_accept_rejectMove (const RefVectorWithLeader< TrialWaveFunction > &wf_list, const RefVectorWithLeader< ParticleSet > &p_list, int iat, const std::vector< bool > &isAccepted, bool safe_to_delay=false) |
static void | mw_completeUpdates (const RefVectorWithLeader< TrialWaveFunction > &wf_list) |
static void | mw_evaluateGL (const RefVectorWithLeader< TrialWaveFunction > &wf_list, const RefVectorWithLeader< ParticleSet > &p_list, bool fromscratch) |
static void | acquireResource (ResourceCollection &collection, const RefVectorWithLeader< TrialWaveFunction > &wf_list) |
acquire external resource Note: use RAII ResourceCollectionLock whenever possible More... | |
static void | releaseResource (ResourceCollection &collection, const RefVectorWithLeader< TrialWaveFunction > &wf_list) |
release external resource Note: use RAII ResourceCollectionLock whenever possible More... | |
static void | mw_evaluateParameterDerivatives (const RefVectorWithLeader< TrialWaveFunction > &wf_list, const RefVectorWithLeader< ParticleSet > &p_list, const opt_variables_type &optvars, RecordArray< ValueType > &dlogpsi, RecordArray< ValueType > &dhpsioverpsi) |
Public Attributes | |
ParticleSet::ParticleGradient | G |
differential gradients More... | |
ParticleSet::ParticleLaplacian | L |
differential laplacians More... | |
Static Private Member Functions | |
static void | debugOnlyCheckBuffer (WFBufferType &buffer) |
static std::vector< WaveFunctionComponent * > | extractWFCPtrList (const UPtrVector< TrialWaveFunction > &wf_list, int id) |
helper function for extracting a list of WaveFunctionComponent from a list of TrialWaveFunction More... | |
static RefVectorWithLeader< WaveFunctionComponent > | extractWFCRefList (const RefVectorWithLeader< TrialWaveFunction > &wf_list, int id) |
static RefVector< ParticleSet::ParticleGradient > | extractGRefList (const RefVectorWithLeader< TrialWaveFunction > &wf_list) |
}@ More... | |
static RefVector< ParticleSet::ParticleLaplacian > | extractLRefList (const RefVectorWithLeader< TrialWaveFunction > &wf_list) |
Private Attributes | |
const RuntimeOptions & | runtime_options_ |
top-level runtime options from project data information > WaveFunctionPool More... | |
xmlNodePtr | myNode_ |
XML input node for a many-body wavefunction. More... | |
const std::shared_ptr< SPOMap > | spomap_ |
Owned SPOSets. Once a TWF is fully built, SPOSet lookup should be done via TWF. More... | |
const std::string | myName |
getName is in the way More... | |
size_t | BufferCursor |
starting index of the buffer More... | |
size_t | BufferCursor_scalar |
starting index of the scalar buffer More... | |
RealType | PhaseValue |
sign of the trial wave function More... | |
RealType | PhaseDiff |
diff of the phase of the trial wave function during ratio calls More... | |
RealType | log_real_ |
real part of trial wave function log More... | |
RealType | OneOverM |
One over mass of target particleset, needed for Local Energy Derivatives. More... | |
const bool | use_tasking_ |
if true, using internal tasking implementation More... | |
std::vector< std::unique_ptr< WaveFunctionComponent > > | Z |
a list of WaveFunctionComponents constituting many-body wave functions More... | |
TWFFastDerivWrapper | twf_prototype |
For now, TrialWaveFunction will own the wrapper. More... | |
TimerList_t | TWF_timers_ |
timers at TrialWaveFunction function call level More... | |
std::vector< std::reference_wrapper< NewTimer > > | WFC_timers_ |
timers at WaveFunctionComponent function call level More... | |
std::vector< RealType > | myTwist |
Definition at line 74 of file TrialWaveFunction.h.
Definition at line 65 of file TrialWaveFunction.h.
Definition at line 68 of file TrialWaveFunction.h.
Definition at line 73 of file TrialWaveFunction.h.
Definition at line 76 of file TrialWaveFunction.h.
Definition at line 77 of file TrialWaveFunction.h.
Definition at line 78 of file TrialWaveFunction.h.
Definition at line 79 of file TrialWaveFunction.h.
Definition at line 64 of file TrialWaveFunction.h.
using SPOMap = SPOSet::SPOMap |
Definition at line 81 of file TrialWaveFunction.h.
using ValueType = WaveFunctionComponent::ValueType |
Definition at line 71 of file TrialWaveFunction.h.
Definition at line 72 of file TrialWaveFunction.h.
Definition at line 75 of file TrialWaveFunction.h.
|
strong |
enum type for computing partial WaveFunctionComponents
Enumerator | |
---|---|
ALL | |
FERMIONIC | |
NONFERMIONIC |
Definition at line 84 of file TrialWaveFunction.h.
TrialWaveFunction | ( | const RuntimeOptions & | runtime_options, |
const std::string_view | aname = "psi0" , |
||
bool | tasking = false |
||
) |
Definition at line 56 of file TrialWaveFunction.cpp.
References qmcplusplus::suffixes, and qmcplusplus::TIMER_SKIP.
|
delete |
~TrialWaveFunction | ( | ) |
Destructor.
Definition at line 79 of file TrialWaveFunction.cpp.
References TrialWaveFunction::myNode_.
void acceptMove | ( | ParticleSet & | P, |
int | iat, | ||
bool | safe_to_delay = false |
||
) |
update the state with the new data
P | ParticleSet |
iat | index of the particle with a trial move |
The proposed move of the iath particle is accepted. All the temporary data should be incorporated so that the next move is valid.
Definition at line 758 of file TrialWaveFunction.cpp.
References qmcplusplus::ACCEPT_TIMER, TrialWaveFunction::log_real_, TrialWaveFunction::PhaseDiff, TrialWaveFunction::PhaseValue, qmcplusplus::TIMER_SKIP, TrialWaveFunction::TWF_timers_, TrialWaveFunction::WFC_timers_, and TrialWaveFunction::Z.
Referenced by SODMCUpdatePbyPWithRejectionFast::advanceWalker(), DMCUpdatePbyPWithRejectionFast::advanceWalker(), SOVMCUpdatePbyP::advanceWalker(), VMCUpdatePbyP::advanceWalker(), DMCUpdatePbyPL2::advanceWalker(), RMCUpdatePbyPWithDrift::advanceWalkersRMC(), RMCUpdatePbyPWithDrift::advanceWalkersVMC(), NonLocalECPComponent::evaluateOneWithForces(), SOECPComponent::evaluateValueAndDerivatives(), NonLocalECPComponent::evaluateValueAndDerivatives(), NonLocalECPotential::makeNonLocalMovesPbyP(), WaveFunctionTester::runRatioTest(), qmcplusplus::TEST_CASE(), and qmcplusplus::testTrialWaveFunction_diamondC_2x1x1().
|
static |
acquire external resource Note: use RAII ResourceCollectionLock whenever possible
Definition at line 1210 of file TrialWaveFunction.cpp.
References TrialWaveFunction::extractWFCRefList(), and RefVectorWithLeader< T >::getLeader().
void addComponent | ( | std::unique_ptr< WaveFunctionComponent > && | aterm | ) |
add a WaveFunctionComponent
Takes owndership of aterm.
aterm | a WaveFunctionComponent pointer |
Definition at line 87 of file TrialWaveFunction.cpp.
References qmcplusplus::app_log(), qmcplusplus::createGlobalTimer(), qmcplusplus::suffixes, TrialWaveFunction::WFC_timers_, and TrialWaveFunction::Z.
Referenced by qmcplusplus::doSOECPotentialTest(), qmcplusplus::TEST_CASE(), and qmcplusplus::testTrialWaveFunction_diamondC_2x1x1().
TrialWaveFunction::ValueType calcRatio | ( | ParticleSet & | P, |
int | iat, | ||
ComputeType | ct = ComputeType::ALL |
||
) |
compute psi(R_new) / psi(R_current) ratio It returns a complex value if the wavefunction is complex.
P | the active ParticleSet |
iat | the index of a particle moved to the new position. |
ct | select ComputeType |
Definition at line 450 of file TrialWaveFunction.cpp.
References TrialWaveFunction::ALL, NaNguard::checkOneParticleRatio(), TrialWaveFunction::FERMIONIC, TrialWaveFunction::NONFERMIONIC, qmcplusplus::TIMER_SKIP, TrialWaveFunction::TWF_timers_, qmcplusplus::V_TIMER, TrialWaveFunction::WFC_timers_, and TrialWaveFunction::Z.
Referenced by SOVMCUpdatePbyP::advanceWalker(), VMCUpdatePbyP::advanceWalker(), DensityMatrices1B::evaluate_check(), SOECPComponent::evaluateOne(), NonLocalECPComponent::evaluateOne(), NonLocalECPComponent::evaluateOneWithForces(), SOECPComponent::evaluateValueAndDerivatives(), NonLocalECPComponent::evaluateValueAndDerivatives(), OneBodyDensityMatrices::generateSampleRatios(), DensityMatrices1B::integrate(), SOECPComponent::mw_evaluateOne(), NonLocalECPComponent::mw_evaluateOne(), WaveFunctionTester::runBasicTest(), WaveFunctionTester::runNodePlot(), WaveFunctionTester::runRatioTest2(), qmcplusplus::TEST_CASE(), and qmcplusplus::testTrialWaveFunction_diamondC_2x1x1().
TrialWaveFunction::ValueType calcRatioGrad | ( | ParticleSet & | P, |
int | iat, | ||
GradType & | grad_iat | ||
) |
compute psi(R_new) / psi(R_current) ratio and ln(psi(R_new)) gradients It returns a complex value if the wavefunction is complex.
P | the active ParticleSet |
iat | the index of a particle moved to the new position. |
grad_iat | gradients. The consumer must verify if ratio is non-zero. |
Definition at line 609 of file TrialWaveFunction.cpp.
References NaNguard::checkOneParticleGradients(), NaNguard::checkOneParticleRatio(), qmcplusplus::convertValueToLog(), qmcplusplus::imag(), TrialWaveFunction::PhaseDiff, qmcplusplus::TIMER_SKIP, TrialWaveFunction::TWF_timers_, TrialWaveFunction::use_tasking_, qmcplusplus::VGL_TIMER, TrialWaveFunction::WFC_timers_, and TrialWaveFunction::Z.
Referenced by DMCUpdatePbyPWithRejectionFast::advanceWalker(), VMCUpdatePbyP::advanceWalker(), DMCUpdatePbyPL2::advanceWalker(), RMCUpdatePbyPWithDrift::advanceWalkersRMC(), RMCUpdatePbyPWithDrift::advanceWalkersVMC(), NonLocalECPComponent::evaluateOneWithForces(), NonLocalECPotential::makeNonLocalMovesPbyP(), and WaveFunctionTester::runRatioTest2().
TrialWaveFunction::ValueType calcRatioGradWithSpin | ( | ParticleSet & | P, |
int | iat, | ||
GradType & | grad_iat, | ||
ComplexType & | spingrad_iat | ||
) |
compute psi(R_new) / psi(R_current) ratio and d/ds ln(psi(R_new)) spin gradient It returns a complex value if the wavefunction is complex.
P | the active ParticleSet |
iat | the index of a particle moved to the new position. |
grad_iat | real space gradient for iat. The consumer must verify if ratio is non-zero. |
spingrad_iat | spin gradient for iat. The consumer must verify if ratio is non-zero. |
Definition at line 646 of file TrialWaveFunction.cpp.
References NaNguard::checkOneParticleGradients(), NaNguard::checkOneParticleRatio(), qmcplusplus::convertValueToLog(), qmcplusplus::imag(), TrialWaveFunction::PhaseDiff, qmcplusplus::TIMER_SKIP, TrialWaveFunction::TWF_timers_, qmcplusplus::VGL_TIMER, TrialWaveFunction::WFC_timers_, and TrialWaveFunction::Z.
Referenced by SODMCUpdatePbyPWithRejectionFast::advanceWalker(), and SOVMCUpdatePbyP::advanceWalker().
void checkInVariables | ( | opt_variables_type & | o | ) |
Check in an optimizable parameter.
o | aggregated list of optimizable variables |
Gather all the optimizable parameters from wavefunction components into a single list
Definition at line 912 of file TrialWaveFunction.cpp.
References TrialWaveFunction::extractOptimizableObjectRefs().
Referenced by WaveFunctionTester::runDerivCloneTest(), WaveFunctionTester::runDerivNLPPTest(), WaveFunctionTester::runDerivTest(), qmcplusplus::TEST_CASE(), and qmcplusplus::test_hcpBe_rotation().
void checkOutVariables | ( | const opt_variables_type & | o | ) |
Check out optimizable variables Assign index mappings from global list (o) to local values in each component.
Definition at line 919 of file TrialWaveFunction.cpp.
References TrialWaveFunction::Z.
Referenced by QMCCostFunctionBase::put(), WaveFunctionTester::runDerivCloneTest(), WaveFunctionTester::runDerivNLPPTest(), WaveFunctionTester::runDerivTest(), qmcplusplus::TEST_CASE(), and qmcplusplus::test_hcpBe_rotation().
void completeUpdates | ( | ) |
complete all the delayed or asynchronous operations before leaving the p-by-p move region.
See WaveFunctionComponent::completeUpdates for more detail
Definition at line 807 of file TrialWaveFunction.cpp.
References qmcplusplus::ACCEPT_TIMER, qmcplusplus::TIMER_SKIP, TrialWaveFunction::TWF_timers_, TrialWaveFunction::WFC_timers_, and TrialWaveFunction::Z.
Referenced by SODMCUpdatePbyPWithRejectionFast::advanceWalker(), DMCUpdatePbyPWithRejectionFast::advanceWalker(), VMCUpdatePbyP::advanceWalker(), SOVMCUpdatePbyP::advanceWalker(), DMCUpdatePbyPL2::advanceWalker(), RMCUpdatePbyPWithDrift::advanceWalkersRMC(), RMCUpdatePbyPWithDrift::advanceWalkersVMC(), and NonLocalECPotential::makeNonLocalMovesPbyP().
void copyFromBuffer | ( | ParticleSet & | P, |
WFBufferType & | buf | ||
) |
copy all the wavefunction components from buffer.
See WaveFunctionComponent::updateBuffer for more detail
Definition at line 1014 of file TrialWaveFunction.cpp.
References qmcplusplus::BUFFER_TIMER, TrialWaveFunction::BufferCursor, TrialWaveFunction::BufferCursor_scalar, TrialWaveFunction::debugOnlyCheckBuffer(), PooledMemory< T_scalar, Alloc >::get(), TrialWaveFunction::log_real_, TrialWaveFunction::PhaseValue, PooledMemory< T_scalar, Alloc >::rewind(), qmcplusplus::TIMER_SKIP, TrialWaveFunction::TWF_timers_, TrialWaveFunction::WFC_timers_, and TrialWaveFunction::Z.
Referenced by SODMCUpdatePbyPWithRejectionFast::advanceWalker(), SOVMCUpdatePbyP::advanceWalker(), VMCUpdatePbyP::advanceWalker(), DMCUpdatePbyPWithRejectionFast::advanceWalker(), DMCUpdatePbyPL2::advanceWalker(), RMCUpdatePbyPWithDrift::advanceWalkersRMC(), RMCUpdatePbyPWithDrift::advanceWalkersVMC(), RMCUpdatePbyPWithDrift::initWalkersForPbyP(), QMCUpdateBase::initWalkersForPbyP(), WaveFunctionTester::runCloneTest(), WaveFunctionTester::runNodePlot(), WaveFunctionTester::runRatioTest(), and WaveFunctionTester::runRatioTest2().
void createResource | ( | ResourceCollection & | collection | ) | const |
initialize a shared resource and hand it to a collection
Definition at line 1204 of file TrialWaveFunction.cpp.
References TrialWaveFunction::Z.
Referenced by CostFunctionCrowdData::CostFunctionCrowdData(), qmcplusplus::doSOECPotentialTest(), QMCDriverNew::initializeQMC(), qmcplusplus::TEST_CASE(), and qmcplusplus::testTrialWaveFunction_diamondC_2x1x1().
|
staticprivate |
Definition at line 973 of file TrialWaveFunction.cpp.
References PooledMemory< T_scalar, Alloc >::current(), PooledMemory< T_scalar, Alloc >::current_scalar(), and PooledMemory< T_scalar, Alloc >::size().
Referenced by TrialWaveFunction::copyFromBuffer(), and TrialWaveFunction::updateBuffer().
TrialWaveFunction::GradType evalGrad | ( | ParticleSet & | P, |
int | iat | ||
) |
Definition at line 525 of file TrialWaveFunction.cpp.
References NaNguard::checkOneParticleGradients(), qmcplusplus::TIMER_SKIP, TrialWaveFunction::TWF_timers_, qmcplusplus::VGL_TIMER, TrialWaveFunction::WFC_timers_, and TrialWaveFunction::Z.
Referenced by DMCUpdatePbyPWithRejectionFast::advanceWalker(), VMCUpdatePbyP::advanceWalker(), DMCUpdatePbyPL2::advanceWalker(), RMCUpdatePbyPWithDrift::advanceWalkersRMC(), RMCUpdatePbyPWithDrift::advanceWalkersVMC(), and WaveFunctionTester::runRatioTest2().
TrialWaveFunction::GradType evalGradSource | ( | ParticleSet & | P, |
ParticleSet & | source, | ||
int | iat | ||
) |
Returns the logarithmic gradient of the trial wave function with respect to the iat^th atom of the source ParticleSet.
Definition at line 582 of file TrialWaveFunction.cpp.
References TrialWaveFunction::Z.
Referenced by TrialWaveFunction::evalGradSource(), QMCHamiltonian::evaluateIonDerivs(), QMCHamiltonian::evaluateIonDerivsDeterministic(), NonLocalECPComponent::evaluateOneWithForces(), BareKineticEnergy::evaluateWithIonDerivs(), WaveFunctionTester::runGradSourceTest(), WaveFunctionTester::runZeroVarianceTest(), and qmcplusplus::TEST_CASE().
TrialWaveFunction::GradType evalGradSource | ( | ParticleSet & | P, |
ParticleSet & | source, | ||
int | iat, | ||
TinyVector< ParticleSet::ParticleGradient, OHMMS_DIM > & | grad_grad, | ||
TinyVector< ParticleSet::ParticleLaplacian, OHMMS_DIM > & | lapl_grad | ||
) |
Returns the logarithmic gradient of the w.r.t.
the iat^th atom of the source ParticleSet of the sum of laplacians w.r.t. the electrons (target ParticleSet) of the trial wave function.
Definition at line 590 of file TrialWaveFunction.cpp.
References TrialWaveFunction::evalGradSource(), OHMMS_DIM, TinyVector< T, D >::size(), and TrialWaveFunction::Z.
TrialWaveFunction::GradType evalGradWithSpin | ( | ParticleSet & | P, |
int | iat, | ||
ComplexType & | spingrad | ||
) |
compute d/ds ln(psi) spin gradient at current particle position for iat electron
P | active particle set. |
iat | index of the particle moved to the new position. |
spingrad | spingrad value. Zeroed out first, then filled with d/ds ln(psi). |
Definition at line 538 of file TrialWaveFunction.cpp.
References NaNguard::checkOneParticleGradients(), qmcplusplus::TIMER_SKIP, TrialWaveFunction::TWF_timers_, qmcplusplus::VGL_TIMER, TrialWaveFunction::WFC_timers_, and TrialWaveFunction::Z.
Referenced by SODMCUpdatePbyPWithRejectionFast::advanceWalker(), and SOVMCUpdatePbyP::advanceWalker().
TrialWaveFunction::RealType evaluateDeltaLog | ( | ParticleSet & | P, |
bool | recompute = false |
||
) |
evaluate the log value of a many-body wave function
P | input configuration containing N particles |
recomputeall | recompute all orbitals from scratch |
default value. call evaluateLog only on optimizable orbitals. OK if nonlocal pp's aren't used.
To save time, logpsi, G, and L are only computed for orbitals that change over the course of the optimization. It is assumed that the fixed components are stored elsewhere. See evaluateDeltaLog(P,logpsi_fixed_r,logpsi_opt,fixedG,fixedL) defined below. Nonlocal pseudopotential evaluation requires temporary information like matrix inverses, so while the logpsi, G, and L don't change, evaluateLog is called anyways to compute these auxiliary quantities from scratch. logpsi, G, and L associated with these non-optimizable orbitals are discarded explicitly and with dummy variables.
Definition at line 232 of file TrialWaveFunction.cpp.
References TrialWaveFunction::evaluateLog(), ParticleSet::G, qmcplusplus::imag(), ParticleSet::L, TrialWaveFunction::log_real_, TrialWaveFunction::PhaseValue, qmcplusplus::RECOMPUTE_TIMER, qmcplusplus::TIMER_SKIP, TrialWaveFunction::TWF_timers_, TrialWaveFunction::WFC_timers_, and TrialWaveFunction::Z.
Referenced by qmcplusplus::TEST_CASE().
void evaluateDeltaLogSetup | ( | ParticleSet & | P, |
RealType & | logpsi_fixed, | ||
RealType & | logpsi_opt, | ||
ParticleSet::ParticleGradient & | fixedG, | ||
ParticleSet::ParticleLaplacian & | fixedL | ||
) |
evaluate the sum of log value of optimizable many-body wavefunctions
P | input configuration containing N particles |
logpsi_fixed | log(std::abs(psi)) of the invariant orbitals |
logpsi_opt | log(std::abs(psi)) of the variable orbitals |
fixedG | gradients of log(psi) of the fixed wave functions |
fixedL | laplacians of log(psi) of the fixed wave functions |
This function is introduced for optimization only. fixedG and fixedL save the terms coming from the wave functions that are invariant during optimizations. It is expected that evaluateDeltaLog(P,false) is called later and the external object adds the varying G and L and the fixed terms.
Definition at line 265 of file TrialWaveFunction.cpp.
References qmcplusplus::convertToReal(), ParticleSet::G, ParticleSet::L, qmcplusplus::RECOMPUTE_TIMER, qmcplusplus::TIMER_SKIP, TrialWaveFunction::TWF_timers_, TrialWaveFunction::WFC_timers_, and TrialWaveFunction::Z.
Referenced by qmcplusplus::TEST_CASE().
void evaluateDerivatives | ( | ParticleSet & | P, |
const opt_variables_type & | optvars, | ||
Vector< ValueType > & | dlogpsi, | ||
Vector< ValueType > & | dhpsioverpsi | ||
) |
evaluate derivatives of KE wrt optimizable varibles
Definition at line 1128 of file TrialWaveFunction.cpp.
References qmcplusplus::DERIVS_TIMER, TrialWaveFunction::OneOverM, Vector< T, Alloc >::size(), qmcplusplus::TIMER_SKIP, TrialWaveFunction::WFC_timers_, and TrialWaveFunction::Z.
Referenced by BareKineticEnergy::evaluateValueAndDerivatives(), WaveFunctionTester::runDerivCloneTest(), WaveFunctionTester::runDerivNLPPTest(), WaveFunctionTester::runDerivTest(), qmcplusplus::TEST_CASE(), and qmcplusplus::test_hcpBe_rotation().
void evaluateDerivativesWF | ( | ParticleSet & | P, |
const opt_variables_type & | optvars, | ||
Vector< ValueType > & | dlogpsi | ||
) |
Definition at line 1164 of file TrialWaveFunction.cpp.
References qmcplusplus::DERIVS_TIMER, qmcplusplus::TIMER_SKIP, TrialWaveFunction::WFC_timers_, and TrialWaveFunction::Z.
Referenced by SOECPComponent::evaluateValueAndDerivatives(), and NonLocalECPComponent::evaluateValueAndDerivatives().
void evaluateDerivRatios | ( | const VirtualParticleSet & | VP, |
const opt_variables_type & | optvars, | ||
std::vector< ValueType > & | ratios, | ||
Matrix< ValueType > & | dratio | ||
) |
compute both ratios and deriatives of ratio with respect to the optimizables
Definition at line 1094 of file TrialWaveFunction.cpp.
References Matrix< T, Alloc >::begin(), qmcplusplus::DERIVS_TIMER, Matrix< T, Alloc >::end(), qmcplusplus::TIMER_SKIP, TrialWaveFunction::WFC_timers_, and TrialWaveFunction::Z.
Referenced by SOECPComponent::evaluateValueAndDerivatives(), and NonLocalECPComponent::evaluateValueAndDerivatives().
TrialWaveFunction::LogValue evaluateGL | ( | ParticleSet & | P, |
bool | fromscratch | ||
) |
compute gradients and laplacian of the TWF with respect to each particle.
See WaveFunctionComponent::evaluateGL for more detail
Definition at line 832 of file TrialWaveFunction.cpp.
References qmcplusplus::BUFFER_TIMER, ParticleSet::G, TrialWaveFunction::G, qmcplusplus::imag(), ParticleSet::L, TrialWaveFunction::L, TrialWaveFunction::log_real_, TrialWaveFunction::PhaseValue, qmcplusplus::TIMER_SKIP, TrialWaveFunction::TWF_timers_, TrialWaveFunction::WFC_timers_, and TrialWaveFunction::Z.
Referenced by qmcplusplus::testTrialWaveFunction_diamondC_2x1x1().
void evaluateGradDerivatives | ( | const ParticleSet::ParticleGradient & | G_in, |
std::vector< ValueType > & | dgradlogpsi | ||
) |
Definition at line 1175 of file TrialWaveFunction.cpp.
References TrialWaveFunction::Z.
void evaluateHessian | ( | ParticleSet & | P, |
HessVector & | all_grad_grad_psi | ||
) |
evaluate the hessian w.r.t.
electronic coordinates of particle iat evaluate the hessian hessian w.r.t. electronic coordinates of particle iat
Definition at line 434 of file TrialWaveFunction.cpp.
References ParticleSet::getTotalNum(), and TrialWaveFunction::Z.
Referenced by L2Potential::evaluate(), and StressPBC::evaluateKineticSymTensor().
TrialWaveFunction::RealType evaluateLog | ( | ParticleSet & | P | ) |
evalaute the log (internally gradients and laplacian) of the trial wavefunction.
return log(|psi|)
gold reference
PhaseValue is the phase for the complex wave function
Definition at line 123 of file TrialWaveFunction.cpp.
References ParticleSet::G, TrialWaveFunction::G, qmcplusplus::imag(), ParticleSet::L, TrialWaveFunction::L, TrialWaveFunction::log_real_, TrialWaveFunction::PhaseValue, qmcplusplus::RECOMPUTE_TIMER, qmcplusplus::TIMER_SKIP, TrialWaveFunction::TWF_timers_, TrialWaveFunction::WFC_timers_, and TrialWaveFunction::Z.
Referenced by SOVMCUpdateAll::advanceWalker(), DMCUpdateAllWithRejection::advanceWalker(), VMCUpdateAll::advanceWalker(), DMCUpdateAllWithKill::advanceWalker(), RMCUpdateAllWithDrift::advanceWalkersRMC(), RMCUpdateAllWithDrift::advanceWalkersVMC(), WaveFunctionTester::checkGradientAtConfiguration(), WaveFunctionTester::computeNumericalGrad(), TrialWaveFunction::evaluateDeltaLog(), QMCHamiltonian::evaluateElecGrad(), BareKineticEnergy::evaluateWithIonDerivs(), QMCMain::executeCMCSection(), RMCUpdateAllWithDrift::initWalkers(), QMCUpdateBase::initWalkers(), RMCUpdatePbyPWithDrift::initWalkersForPbyP(), QMCUpdateBase::initWalkersForPbyP(), WaveFunctionTester::printEloc(), WaveFunctionTester::runBasicTest(), WaveFunctionTester::runCloneTest(), WaveFunctionTester::runDerivCloneTest(), WaveFunctionTester::runDerivNLPPTest(), WaveFunctionTester::runDerivTest(), WaveFunctionTester::runGradSourceTest(), WaveFunctionTester::runRatioTest(), WaveFunctionTester::runRatioTest2(), WaveFunctionTester::runZeroVarianceTest(), qmcplusplus::TEST_CASE(), qmcplusplus::test_hcpBe_rotation(), and qmcplusplus::testTrialWaveFunction_diamondC_2x1x1().
void evaluateRatios | ( | const VirtualParticleSet & | VP, |
std::vector< ValueType > & | ratios, | ||
ComputeType | ct = ComputeType::ALL |
||
) |
compulte multiple ratios to handle non-local moves and other virtual moves
Definition at line 1029 of file TrialWaveFunction.cpp.
References TrialWaveFunction::ALL, TrialWaveFunction::FERMIONIC, VirtualParticleSet::getTotalNum(), qmcplusplus::NL_TIMER, TrialWaveFunction::NONFERMIONIC, qmcplusplus::TIMER_SKIP, TrialWaveFunction::TWF_timers_, TrialWaveFunction::WFC_timers_, and TrialWaveFunction::Z.
Referenced by SOECPComponent::evaluateOne(), NonLocalECPComponent::evaluateOne(), NonLocalECPComponent::evaluateOneWithForces(), MagnetizationDensity::generateSpinIntegrand(), and WaveFunctionTester::runRatioV().
void evaluateRatiosAlltoOne | ( | ParticleSet & | P, |
std::vector< ValueType > & | ratios | ||
) |
Definition at line 1190 of file TrialWaveFunction.cpp.
References qmcplusplus::TIMER_SKIP, TrialWaveFunction::TWF_timers_, qmcplusplus::V_TIMER, TrialWaveFunction::WFC_timers_, and TrialWaveFunction::Z.
Referenced by MomentumDistribution::accumulate(), MomentumEstimator::evaluate(), DensityMatrices1B::generate_sample_ratios(), and OneBodyDensityMatrices::generateSampleRatios().
void evaluateSpinorRatios | ( | const VirtualParticleSet & | VP, |
const std::pair< ValueVector, ValueVector > & | spinor_multiplier, | ||
std::vector< ValueType > & | ratios | ||
) | const |
Used by SOECPComponent to do faster SOC evaluation.
Definition at line 1046 of file TrialWaveFunction.cpp.
References VirtualParticleSet::getTotalNum(), qmcplusplus::NL_TIMER, qmcplusplus::TIMER_SKIP, TrialWaveFunction::TWF_timers_, TrialWaveFunction::WFC_timers_, and TrialWaveFunction::Z.
Referenced by SOECPComponent::evaluateOneExactSpinIntegration().
|
staticprivate |
}@
Definition at line 1256 of file TrialWaveFunction.cpp.
Referenced by TrialWaveFunction::mw_evaluateDeltaLog(), TrialWaveFunction::mw_evaluateDeltaLogSetup(), TrialWaveFunction::mw_evaluateGL(), and TrialWaveFunction::mw_evaluateLog().
|
staticprivate |
Definition at line 1265 of file TrialWaveFunction.cpp.
Referenced by TrialWaveFunction::mw_evaluateDeltaLog(), TrialWaveFunction::mw_evaluateDeltaLogSetup(), TrialWaveFunction::mw_evaluateGL(), and TrialWaveFunction::mw_evaluateLog().
UniqueOptObjRefs extractOptimizableObjectRefs | ( | ) |
extract underlying OptimizableObject references
opt_obj_refs | aggregated list of optimizable object references |
Definition at line 904 of file TrialWaveFunction.cpp.
References TrialWaveFunction::Z.
Referenced by TrialWaveFunction::checkInVariables(), QMCCostFunctionBase::extractOptimizableObjects(), QMCCostFunctionBase::reportParameters(), TrialWaveFunction::reportStatus(), TrialWaveFunction::resetParameters(), and qmcplusplus::TEST_CASE().
|
staticprivate |
helper function for extracting a list of WaveFunctionComponent from a list of TrialWaveFunction
Definition at line 1247 of file TrialWaveFunction.cpp.
|
staticprivate |
Definition at line 1236 of file TrialWaveFunction.cpp.
References RefVectorWithLeader< T >::getLeader().
Referenced by TrialWaveFunction::acquireResource(), TrialWaveFunction::mw_accept_rejectMove(), TrialWaveFunction::mw_calcRatio(), TrialWaveFunction::mw_calcRatioGrad(), TrialWaveFunction::mw_completeUpdates(), TrialWaveFunction::mw_evalGrad(), TrialWaveFunction::mw_evaluateDeltaLog(), TrialWaveFunction::mw_evaluateDeltaLogSetup(), TrialWaveFunction::mw_evaluateGL(), TrialWaveFunction::mw_evaluateLog(), TrialWaveFunction::mw_evaluateRatios(), TrialWaveFunction::mw_prepareGroup(), TrialWaveFunction::mw_recompute(), and TrialWaveFunction::releaseResource().
RefVector< MultiSlaterDetTableMethod > findMSD | ( | ) | const |
find MSD WFCs if exist
Definition at line 110 of file TrialWaveFunction.cpp.
References TrialWaveFunction::Z.
Referenced by SelfHealingOverlap::accumulate(), SelfHealingOverlapLegacy::evaluate(), SelfHealingOverlap::SelfHealingOverlap(), SelfHealingOverlapLegacy::SelfHealingOverlapLegacy(), and qmcplusplus::TEST_CASE().
|
inline |
Definition at line 114 of file TrialWaveFunction.h.
References TrialWaveFunction::log_real_.
Referenced by DMCUpdateAllWithRejection::advanceWalker(), WalkerLogCollector::collect(), qmcplusplus::TEST_CASE(), and qmcplusplus::testTrialWaveFunction_diamondC_2x1x1().
void getLogs | ( | std::vector< RealType > & | lvals | ) |
Definition at line 940 of file TrialWaveFunction.cpp.
References TrialWaveFunction::Z.
Referenced by QMCUpdateBase::getLogs().
|
inline |
Definition at line 496 of file TrialWaveFunction.h.
References TrialWaveFunction::myName.
Referenced by QMCCostFunctionBase::put().
|
inline |
Definition at line 502 of file TrialWaveFunction.h.
References TrialWaveFunction::myNode_.
|
inline |
Definition at line 477 of file TrialWaveFunction.h.
References TrialWaveFunction::Z.
Referenced by SelfHealingOverlap::accumulate(), WaveFunctionTester::checkGradientAtConfiguration(), SelfHealingOverlapLegacy::evaluate(), qmcplusplus::TEST_CASE(), and qmcplusplus::test_hcpBe_rotation().
|
inline |
Definition at line 106 of file TrialWaveFunction.h.
References TrialWaveFunction::PhaseValue.
Referenced by SOVMCUpdateAll::advanceWalker(), SODMCUpdatePbyPWithRejectionFast::advanceWalker(), DMCUpdateAllWithRejection::advanceWalker(), VMCUpdateAll::advanceWalker(), VMCUpdatePbyP::advanceWalker(), DMCUpdatePbyPWithRejectionFast::advanceWalker(), SOVMCUpdatePbyP::advanceWalker(), DMCUpdatePbyPL2::advanceWalker(), DMCUpdateAllWithKill::advanceWalker(), RMCUpdateAllWithDrift::advanceWalkersRMC(), RMCUpdatePbyPWithDrift::advanceWalkersVMC(), RMCUpdateAllWithDrift::advanceWalkersVMC(), WaveFunctionTester::checkGradientAtConfiguration(), WalkerLogCollector::collect(), WaveFunctionTester::computeNumericalGrad(), RMCUpdateAllWithDrift::initWalkers(), QMCUpdateBase::initWalkers(), RMCUpdatePbyPWithDrift::initWalkersForPbyP(), QMCUpdateBase::initWalkersForPbyP(), WaveFunctionTester::runBasicTest(), WaveFunctionTester::runRatioTest(), WaveFunctionTester::runRatioTest2(), WaveFunctionTester::runZeroVarianceTest(), and qmcplusplus::testTrialWaveFunction_diamondC_2x1x1().
|
inline |
Definition at line 112 of file TrialWaveFunction.h.
References TrialWaveFunction::PhaseDiff.
Referenced by DMCUpdateAllWithRejection::advanceWalker(), SODMCUpdatePbyPWithRejectionFast::advanceWalker(), DMCUpdatePbyPWithRejectionFast::advanceWalker(), DMCUpdatePbyPL2::advanceWalker(), DMCUpdateAllWithKill::advanceWalker(), RMCUpdatePbyPWithDrift::advanceWalkersRMC(), RMCUpdateAllWithDrift::advanceWalkersRMC(), RMCUpdatePbyPWithDrift::advanceWalkersVMC(), RMCUpdateAllWithDrift::advanceWalkersVMC(), and WaveFunctionTester::runBasicTest().
void getPhases | ( | std::vector< RealType > & | pvals | ) |
Definition at line 949 of file TrialWaveFunction.cpp.
References qmcplusplus::imag(), and TrialWaveFunction::Z.
|
inline |
Definition at line 494 of file TrialWaveFunction.h.
References TrialWaveFunction::OneOverM.
|
inline |
spomap_ reference accessor
Definition at line 511 of file TrialWaveFunction.h.
References TrialWaveFunction::spomap_.
Referenced by HamiltonianFactory::build(), and DensityMatrices1B::set_state().
const SPOSet & getSPOSet | ( | const std::string & | name | ) | const |
look up SPOSet named 'name', if not found, throw exception.
Definition at line 102 of file TrialWaveFunction.cpp.
References TrialWaveFunction::spomap_.
void initializeTWFFastDerivWrapper | ( | const ParticleSet & | P, |
TWFFastDerivWrapper & | twf | ||
) | const |
Initialize a TWF wrapper for fast derivative evaluation.
Definition at line 1274 of file TrialWaveFunction.cpp.
References qmcplusplus::twf, and TrialWaveFunction::Z.
Referenced by ACForce::ACForce(), and qmcplusplus::TEST_CASE().
TrialWaveFunction::RealType KECorrection | ( | ) | const |
Definition at line 1182 of file TrialWaveFunction.cpp.
References TrialWaveFunction::Z.
Referenced by ChiesaCorrection::evaluate().
std::unique_ptr< TrialWaveFunction > makeClone | ( | ParticleSet & | tqp | ) | const |
Definition at line 1113 of file TrialWaveFunction.cpp.
References TrialWaveFunction::BufferCursor, TrialWaveFunction::BufferCursor_scalar, TrialWaveFunction::myName, TrialWaveFunction::OneOverM, TrialWaveFunction::runtime_options_, TrialWaveFunction::use_tasking_, and TrialWaveFunction::Z.
Referenced by CostFunctionCrowdData::CostFunctionCrowdData(), MCPopulation::createWalkers(), qmcplusplus::doSOECPotentialTest(), CloneManager::makeClones(), WaveFunctionTester::runCloneTest(), WaveFunctionTester::runDerivCloneTest(), MCPopulation::spawnWalker(), qmcplusplus::TEST_CASE(), and qmcplusplus::testTrialWaveFunction_diamondC_2x1x1().
|
static |
Definition at line 774 of file TrialWaveFunction.cpp.
References qmcplusplus::ACCEPT_TIMER, TrialWaveFunction::extractWFCRefList(), RefVectorWithLeader< T >::getLeader(), qmcplusplus::imag(), and qmcplusplus::TIMER_SKIP.
Referenced by TWFdispatcher::flex_accept_rejectMove(), qmcplusplus::TEST_CASE(), qmcplusplus::test_LiH_msd(), and qmcplusplus::testTrialWaveFunction_diamondC_2x1x1().
|
static |
batched version of calcRatio
Definition at line 466 of file TrialWaveFunction.cpp.
References TrialWaveFunction::ALL, NaNguard::checkOneParticleRatio(), TrialWaveFunction::extractWFCRefList(), TrialWaveFunction::FERMIONIC, RefVectorWithLeader< T >::getLeader(), TrialWaveFunction::NONFERMIONIC, qmcplusplus::TIMER_SKIP, and qmcplusplus::V_TIMER.
Referenced by TWFdispatcher::flex_calcRatio(), qmcplusplus::TEST_CASE(), qmcplusplus::test_LiH_msd(), and qmcplusplus::testTrialWaveFunction_diamondC_2x1x1().
|
static |
batched version of ratioGrad
all vector sizes must match implements switch between normal and WithSpin version
Definition at line 670 of file TrialWaveFunction.cpp.
References NaNguard::checkOneParticleGradients(), NaNguard::checkOneParticleRatio(), TrialWaveFunction::extractWFCRefList(), RefVectorWithLeader< T >::getLeader(), qmcplusplus::TIMER_SKIP, and qmcplusplus::VGL_TIMER.
Referenced by TWFdispatcher::flex_calcRatioGrad(), qmcplusplus::TEST_CASE(), qmcplusplus::test_LiH_msd(), and qmcplusplus::testTrialWaveFunction_diamondC_2x1x1().
|
static |
Definition at line 817 of file TrialWaveFunction.cpp.
References qmcplusplus::ACCEPT_TIMER, TrialWaveFunction::extractWFCRefList(), RefVectorWithLeader< T >::getLeader(), and qmcplusplus::TIMER_SKIP.
Referenced by TWFdispatcher::flex_completeUpdates(), and qmcplusplus::testTrialWaveFunction_diamondC_2x1x1().
|
static |
batched version of evalGrad
This is static because it should have no direct access to any TWF. implements switch between normal and WithSpin version
Definition at line 553 of file TrialWaveFunction.cpp.
References NaNguard::checkOneParticleGradients(), TrialWaveFunction::extractWFCRefList(), RefVectorWithLeader< T >::getLeader(), qmcplusplus::TIMER_SKIP, and qmcplusplus::VGL_TIMER.
Referenced by TWFdispatcher::flex_evalGrad(), qmcplusplus::TEST_CASE(), qmcplusplus::test_LiH_msd(), and qmcplusplus::testTrialWaveFunction_diamondC_2x1x1().
|
static |
evaluate the log value for optimizable parts of a many-body wave function
wf_list | vector of wavefunctions |
p_list | vector of input particle configurations |
logpsi_list | vector of log(std::abs(psi)) of the variable orbitals |
dummyG_list | vector of gradients of log(psi) of the fixed wave functions. |
dummyL_list | vector of laplacians of log(psi) of the fixed wave functions |
The dummyG_list and dummyL_list are only referenced if recompute is true. If recompute is false, the storage of these lists are needed, but the values can be discarded.
default value. call evaluateLog only on optimizable orbitals. OK if nonlocal pp's aren't used.
To save time, logpsi, G, and L are only computed for orbitals that change over the course of the optimization. It is assumed that the fixed components are stored elsewhere. See mw_evaluateDeltaLogSetup defined above. Nonlocal pseudopotential evaluation requires temporary information like matrix inverses, so while the logpsi, G, and L don't change, evaluateLog is called anyways to compute these auxiliary quantities from scratch. logpsi, G, and L associated with these non-optimizable orbitals are discarded explicitly and with dummy variables.
Definition at line 352 of file TrialWaveFunction.cpp.
References BLAS::czero, TrialWaveFunction::extractGRefList(), TrialWaveFunction::extractLRefList(), TrialWaveFunction::extractWFCRefList(), RefVectorWithLeader< T >::getLeader(), qmcplusplus::pset, TrialWaveFunction::recompute(), qmcplusplus::RECOMPUTE_TIMER, qmcplusplus::TIMER_SKIP, and qmcplusplus::twf.
Referenced by QMCCostFunctionBatched::correlatedSampling(), and qmcplusplus::TEST_CASE().
|
static |
evaluate the sum of log value of optimizable many-body wavefunctions
wf_list | vector of wavefunctions |
p_list | vector of input particle configurations |
logpsi_fixed_list | vector of log(std::abs(psi)) of the invariant orbitals |
logpsi_opt_list | vector of log(std::abs(psi)) of the variable orbitals |
fixedG_list | vector of gradients of log(psi) of the fixed wave functions |
fixedL_list | vector of laplacians of log(psi) of the fixed wave functions |
For wavefunction optimization, it can speed evaluation to split the log value, the gradient, and the laplacian computed from wavefunction components with optimizable parameters from components that do not. This function computes the log value of both parts, and the gradient and laplacian of the fixed components. During correlated sampling steps only the components with optimizable parameters need to have the gradient and laplacian re-evaluated.
Parameters fixedG_list and fixedL_list save the terms coming from the components that do not have optimizable parameters. It is expected that mw_evaluateDeltaLog(P,false) is called later and the external object adds the varying G and L and the fixed terms.
Definition at line 294 of file TrialWaveFunction.cpp.
References BLAS::czero, TrialWaveFunction::extractGRefList(), TrialWaveFunction::extractLRefList(), TrialWaveFunction::extractWFCRefList(), RefVectorWithLeader< T >::getLeader(), qmcplusplus::pset, qmcplusplus::RECOMPUTE_TIMER, qmcplusplus::TIMER_SKIP, and qmcplusplus::twf.
Referenced by QMCCostFunctionBatched::checkConfigurations(), and qmcplusplus::TEST_CASE().
|
static |
Definition at line 853 of file TrialWaveFunction.cpp.
References qmcplusplus::BUFFER_TIMER, BLAS::czero, TrialWaveFunction::extractGRefList(), TrialWaveFunction::extractLRefList(), TrialWaveFunction::extractWFCRefList(), RefVectorWithLeader< T >::getLeader(), qmcplusplus::imag(), qmcplusplus::pset, qmcplusplus::TIMER_SKIP, and qmcplusplus::twf.
Referenced by TWFdispatcher::flex_evaluateGL(), and qmcplusplus::testTrialWaveFunction_diamondC_2x1x1().
|
static |
batched version of evaluateLog.
gold reference
Definition at line 150 of file TrialWaveFunction.cpp.
References BLAS::czero, TrialWaveFunction::extractGRefList(), TrialWaveFunction::extractLRefList(), TrialWaveFunction::extractWFCRefList(), RefVectorWithLeader< T >::getLeader(), qmcplusplus::imag(), qmcplusplus::pset, qmcplusplus::RECOMPUTE_TIMER, qmcplusplus::TIMER_SKIP, and qmcplusplus::twf.
Referenced by qmcplusplus::doSOECPotentialTest(), TWFdispatcher::flex_evaluateLog(), qmcplusplus::TEST_CASE(), qmcplusplus::test_LiH_msd(), and qmcplusplus::testTrialWaveFunction_diamondC_2x1x1().
|
static |
Definition at line 1147 of file TrialWaveFunction.cpp.
References RecordArray< T >::getNumOfParams().
Referenced by BareKineticEnergy::mw_evaluateWithParameterDerivatives(), qmcplusplus::TEST_CASE(), and qmcplusplus::test_hcpBe_rotation().
|
static |
batched version of evaluateRatios Note: unlike other mw_ static functions, *this is the batch leader instead of wf_list[0].
Definition at line 1061 of file TrialWaveFunction.cpp.
References TrialWaveFunction::ALL, TrialWaveFunction::extractWFCRefList(), TrialWaveFunction::FERMIONIC, RefVectorWithLeader< T >::getLeader(), qmcplusplus::NL_TIMER, TrialWaveFunction::NONFERMIONIC, and qmcplusplus::TIMER_SKIP.
Referenced by TWFdispatcher::flex_evaluateRatios(), SOECPComponent::mw_evaluateOne(), NonLocalECPComponent::mw_evaluateOne(), and qmcplusplus::testTrialWaveFunction_diamondC_2x1x1().
|
static |
batched version of prepareGroup
all vector sizes must match
Definition at line 508 of file TrialWaveFunction.cpp.
References TrialWaveFunction::extractWFCRefList(), RefVectorWithLeader< T >::getLeader(), qmcplusplus::PREPAREGROUP_TIMER, and qmcplusplus::TIMER_SKIP.
Referenced by TWFdispatcher::flex_prepareGroup(), SOECPotential::mw_evaluateImpl(), NonLocalECPotential::mw_evaluateImpl(), and qmcplusplus::test_LiH_msd().
|
static |
batched version of recompute
Definition at line 214 of file TrialWaveFunction.cpp.
References TrialWaveFunction::extractWFCRefList(), RefVectorWithLeader< T >::getLeader(), TrialWaveFunction::recompute(), qmcplusplus::RECOMPUTE_TIMER, and qmcplusplus::TIMER_SKIP.
Referenced by TWFdispatcher::flex_recompute().
|
delete |
void prepareGroup | ( | ParticleSet & | P, |
int | ig | ||
) |
Prepare internal data for updating WFC correspond to a particle group Particle groups usually correspond to determinants of different spins.
This call can be used to handle precomputation for PbyP moves.
P | quantum particle set |
ig | particle group index |
Definition at line 502 of file TrialWaveFunction.cpp.
References TrialWaveFunction::Z.
Referenced by SODMCUpdatePbyPWithRejectionFast::advanceWalker(), DMCUpdatePbyPWithRejectionFast::advanceWalker(), VMCUpdatePbyP::advanceWalker(), SOVMCUpdatePbyP::advanceWalker(), NonLocalECPotential::evalIonDerivsImpl(), NonLocalECPotential::evaluateImpl(), and NonLocalECPotential::makeNonLocalMovesPbyP().
void printGL | ( | ParticleSet::ParticleGradient & | G, |
ParticleSet::ParticleLaplacian & | L, | ||
std::string | tag = "GL" |
||
) |
Definition at line 727 of file TrialWaveFunction.cpp.
References TrialWaveFunction::G, and TrialWaveFunction::L.
bool put | ( | xmlNodePtr | cur | ) |
read from xmlNode
Definition at line 1111 of file TrialWaveFunction.cpp.
Referenced by HamiltonianFactory::addForceHam().
void recompute | ( | const ParticleSet & | P | ) |
recompute the value of the orbitals which require critical accuracy
Definition at line 204 of file TrialWaveFunction.cpp.
References qmcplusplus::RECOMPUTE_TIMER, qmcplusplus::TIMER_SKIP, TrialWaveFunction::TWF_timers_, TrialWaveFunction::WFC_timers_, and TrialWaveFunction::Z.
Referenced by TrialWaveFunction::mw_evaluateDeltaLog(), and TrialWaveFunction::mw_recompute().
void registerData | ( | ParticleSet & | P, |
WFBufferType & | buf | ||
) |
register all the wavefunction components in buffer.
See WaveFunctionComponent::registerData for more detail
Definition at line 958 of file TrialWaveFunction.cpp.
References PooledMemory< T_scalar, Alloc >::add(), qmcplusplus::BUFFER_TIMER, TrialWaveFunction::BufferCursor, TrialWaveFunction::BufferCursor_scalar, PooledMemory< T_scalar, Alloc >::current(), PooledMemory< T_scalar, Alloc >::current_scalar(), TrialWaveFunction::log_real_, TrialWaveFunction::PhaseValue, qmcplusplus::TIMER_SKIP, TrialWaveFunction::TWF_timers_, TrialWaveFunction::WFC_timers_, and TrialWaveFunction::Z.
Referenced by RMCUpdatePbyPWithDrift::initWalkersForPbyP(), QMCUpdateBase::initWalkersForPbyP(), WaveFunctionTester::runCloneTest(), WaveFunctionTester::runRatioTest(), WaveFunctionTester::runRatioTest2(), WaveFunctionTester::runRatioV(), and qmcplusplus::TEST_CASE().
void rejectMove | ( | int | iat | ) |
restore to the original state
iat | index of the particle with a trial move |
The proposed move of the iath particle is rejected. All the temporary data should be restored to the state prior to the move.
Definition at line 744 of file TrialWaveFunction.cpp.
References TrialWaveFunction::PhaseDiff, and TrialWaveFunction::Z.
Referenced by SODMCUpdatePbyPWithRejectionFast::advanceWalker(), DMCUpdatePbyPWithRejectionFast::advanceWalker(), SOVMCUpdatePbyP::advanceWalker(), VMCUpdatePbyP::advanceWalker(), DMCUpdatePbyPL2::advanceWalker(), RMCUpdatePbyPWithDrift::advanceWalkersRMC(), RMCUpdatePbyPWithDrift::advanceWalkersVMC(), WaveFunctionTester::runBasicTest(), WaveFunctionTester::runNodePlot(), WaveFunctionTester::runRatioTest(), and WaveFunctionTester::runRatioTest2().
|
static |
release external resource Note: use RAII ResourceCollectionLock whenever possible
Definition at line 1223 of file TrialWaveFunction.cpp.
References TrialWaveFunction::extractWFCRefList(), and RefVectorWithLeader< T >::getLeader().
void reportStatus | ( | std::ostream & | os | ) |
print out state of the trial wavefunction
Definition at line 933 of file TrialWaveFunction.cpp.
References TrialWaveFunction::extractOptimizableObjectRefs().
void resetParameters | ( | const opt_variables_type & | active | ) |
Set values of parameters in each component from the global list.
Definition at line 926 of file TrialWaveFunction.cpp.
References TrialWaveFunction::extractOptimizableObjectRefs().
Referenced by WaveFunctionTester::runDerivCloneTest(), WaveFunctionTester::runDerivNLPPTest(), WaveFunctionTester::runDerivTest(), qmcplusplus::TEST_CASE(), and qmcplusplus::test_hcpBe_rotation().
|
inline |
Definition at line 113 of file TrialWaveFunction.h.
References TrialWaveFunction::PhaseDiff.
Referenced by SOECPComponent::evaluateOne(), NonLocalECPComponent::evaluateOne(), NonLocalECPComponent::evaluateOneWithForces(), OneBodyDensityMatrices::generateSampleRatios(), SOECPComponent::mw_evaluateOne(), NonLocalECPComponent::mw_evaluateOne(), and WaveFunctionTester::runRatioV().
|
inline |
Definition at line 115 of file TrialWaveFunction.h.
References TrialWaveFunction::log_real_.
Referenced by qmcplusplus::TEST_CASE().
|
inline |
Definition at line 485 of file TrialWaveFunction.h.
References ParticleSet::Mass, and TrialWaveFunction::OneOverM.
|
inline |
Definition at line 108 of file TrialWaveFunction.h.
References TrialWaveFunction::PhaseValue.
|
inline |
Definition at line 481 of file TrialWaveFunction.h.
References TrialWaveFunction::myTwist.
|
inline |
Definition at line 482 of file TrialWaveFunction.h.
References TrialWaveFunction::myTwist.
|
inline |
Definition at line 105 of file TrialWaveFunction.h.
References TrialWaveFunction::Z.
|
inline |
store an SPOSet map
Definition at line 505 of file TrialWaveFunction.h.
References qmcplusplus::spomap, and TrialWaveFunction::spomap_.
|
inline |
Definition at line 500 of file TrialWaveFunction.h.
References TrialWaveFunction::myNode_, and qmcplusplus::node.
|
inline |
Definition at line 483 of file TrialWaveFunction.h.
References TrialWaveFunction::myTwist.
TrialWaveFunction::RealType updateBuffer | ( | ParticleSet & | P, |
WFBufferType & | buf, | ||
bool | fromscratch = false |
||
) |
update all the wavefunction components in buffer.
See WaveFunctionComponent::updateBuffer for more detail
Definition at line 988 of file TrialWaveFunction.cpp.
References qmcplusplus::BUFFER_TIMER, TrialWaveFunction::BufferCursor, TrialWaveFunction::BufferCursor_scalar, TrialWaveFunction::debugOnlyCheckBuffer(), ParticleSet::G, TrialWaveFunction::G, qmcplusplus::imag(), ParticleSet::L, TrialWaveFunction::L, TrialWaveFunction::log_real_, TrialWaveFunction::PhaseValue, PooledMemory< T_scalar, Alloc >::put(), PooledMemory< T_scalar, Alloc >::rewind(), qmcplusplus::TIMER_SKIP, TrialWaveFunction::TWF_timers_, TrialWaveFunction::WFC_timers_, and TrialWaveFunction::Z.
Referenced by SODMCUpdatePbyPWithRejectionFast::advanceWalker(), SOVMCUpdatePbyP::advanceWalker(), VMCUpdatePbyP::advanceWalker(), DMCUpdatePbyPWithRejectionFast::advanceWalker(), DMCUpdatePbyPL2::advanceWalker(), RMCUpdatePbyPWithDrift::advanceWalkersRMC(), RMCUpdatePbyPWithDrift::advanceWalkersVMC(), RMCUpdatePbyPWithDrift::initWalkersForPbyP(), QMCUpdateBase::initWalkersForPbyP(), WaveFunctionTester::runCloneTest(), WaveFunctionTester::runRatioTest(), and WaveFunctionTester::runRatioTest2().
|
inline |
Definition at line 498 of file TrialWaveFunction.h.
References TrialWaveFunction::use_tasking_.
|
private |
starting index of the buffer
Definition at line 535 of file TrialWaveFunction.h.
Referenced by TrialWaveFunction::copyFromBuffer(), TrialWaveFunction::makeClone(), TrialWaveFunction::registerData(), and TrialWaveFunction::updateBuffer().
|
private |
starting index of the scalar buffer
Definition at line 538 of file TrialWaveFunction.h.
Referenced by TrialWaveFunction::copyFromBuffer(), TrialWaveFunction::makeClone(), TrialWaveFunction::registerData(), and TrialWaveFunction::updateBuffer().
differential gradients
Definition at line 92 of file TrialWaveFunction.h.
Referenced by ACForce::evaluate(), TrialWaveFunction::evaluateGL(), TrialWaveFunction::evaluateLog(), TrialWaveFunction::printGL(), and TrialWaveFunction::updateBuffer().
differential laplacians
Definition at line 94 of file TrialWaveFunction.h.
Referenced by TrialWaveFunction::evaluateGL(), TrialWaveFunction::evaluateLog(), TrialWaveFunction::printGL(), and TrialWaveFunction::updateBuffer().
|
private |
real part of trial wave function log
Definition at line 547 of file TrialWaveFunction.h.
Referenced by TrialWaveFunction::acceptMove(), TrialWaveFunction::copyFromBuffer(), TrialWaveFunction::evaluateDeltaLog(), TrialWaveFunction::evaluateGL(), TrialWaveFunction::evaluateLog(), TrialWaveFunction::getLogPsi(), TrialWaveFunction::registerData(), TrialWaveFunction::setLogPsi(), and TrialWaveFunction::updateBuffer().
|
private |
getName is in the way
Definition at line 532 of file TrialWaveFunction.h.
Referenced by TrialWaveFunction::getName(), and TrialWaveFunction::makeClone().
|
private |
XML input node for a many-body wavefunction.
Copied from the original one. WFOpt driver needs to look it up and make its own copies. YL: updating parameters in an XML file is extremely messy. Better to make WFOpt using h5 only.
Definition at line 526 of file TrialWaveFunction.h.
Referenced by TrialWaveFunction::getNode(), TrialWaveFunction::storeXMLNode(), and TrialWaveFunction::~TrialWaveFunction().
|
private |
Definition at line 564 of file TrialWaveFunction.h.
Referenced by TrialWaveFunction::setTwist(), and TrialWaveFunction::twist().
|
private |
One over mass of target particleset, needed for Local Energy Derivatives.
Definition at line 550 of file TrialWaveFunction.h.
Referenced by TrialWaveFunction::evaluateDerivatives(), TrialWaveFunction::getReciprocalMass(), TrialWaveFunction::makeClone(), and TrialWaveFunction::setMassTerm().
|
private |
diff of the phase of the trial wave function during ratio calls
Definition at line 544 of file TrialWaveFunction.h.
Referenced by TrialWaveFunction::acceptMove(), TrialWaveFunction::calcRatioGrad(), TrialWaveFunction::calcRatioGradWithSpin(), TrialWaveFunction::getPhaseDiff(), TrialWaveFunction::rejectMove(), and TrialWaveFunction::resetPhaseDiff().
|
private |
sign of the trial wave function
Definition at line 541 of file TrialWaveFunction.h.
Referenced by TrialWaveFunction::acceptMove(), TrialWaveFunction::copyFromBuffer(), TrialWaveFunction::evaluateDeltaLog(), TrialWaveFunction::evaluateGL(), TrialWaveFunction::evaluateLog(), TrialWaveFunction::getPhase(), TrialWaveFunction::registerData(), TrialWaveFunction::setPhase(), and TrialWaveFunction::updateBuffer().
|
private |
top-level runtime options from project data information > WaveFunctionPool
Definition at line 520 of file TrialWaveFunction.h.
Referenced by TrialWaveFunction::makeClone().
|
private |
Owned SPOSets. Once a TWF is fully built, SPOSet lookup should be done via TWF.
Definition at line 529 of file TrialWaveFunction.h.
Referenced by TrialWaveFunction::getSPOMap(), TrialWaveFunction::getSPOSet(), and TrialWaveFunction::storeSPOMap().
|
private |
For now, TrialWaveFunction will own the wrapper.
Definition at line 559 of file TrialWaveFunction.h.
|
private |
timers at TrialWaveFunction function call level
Definition at line 561 of file TrialWaveFunction.h.
Referenced by TrialWaveFunction::acceptMove(), TrialWaveFunction::calcRatio(), TrialWaveFunction::calcRatioGrad(), TrialWaveFunction::calcRatioGradWithSpin(), TrialWaveFunction::completeUpdates(), TrialWaveFunction::copyFromBuffer(), TrialWaveFunction::evalGrad(), TrialWaveFunction::evalGradWithSpin(), TrialWaveFunction::evaluateDeltaLog(), TrialWaveFunction::evaluateDeltaLogSetup(), TrialWaveFunction::evaluateGL(), TrialWaveFunction::evaluateLog(), TrialWaveFunction::evaluateRatios(), TrialWaveFunction::evaluateRatiosAlltoOne(), TrialWaveFunction::evaluateSpinorRatios(), TrialWaveFunction::recompute(), TrialWaveFunction::registerData(), and TrialWaveFunction::updateBuffer().
|
private |
if true, using internal tasking implementation
Definition at line 553 of file TrialWaveFunction.h.
Referenced by TrialWaveFunction::calcRatioGrad(), TrialWaveFunction::makeClone(), and TrialWaveFunction::use_tasking().
|
private |
timers at WaveFunctionComponent function call level
Definition at line 563 of file TrialWaveFunction.h.
Referenced by TrialWaveFunction::acceptMove(), TrialWaveFunction::addComponent(), TrialWaveFunction::calcRatio(), TrialWaveFunction::calcRatioGrad(), TrialWaveFunction::calcRatioGradWithSpin(), TrialWaveFunction::completeUpdates(), TrialWaveFunction::copyFromBuffer(), TrialWaveFunction::evalGrad(), TrialWaveFunction::evalGradWithSpin(), TrialWaveFunction::evaluateDeltaLog(), TrialWaveFunction::evaluateDeltaLogSetup(), TrialWaveFunction::evaluateDerivatives(), TrialWaveFunction::evaluateDerivativesWF(), TrialWaveFunction::evaluateDerivRatios(), TrialWaveFunction::evaluateGL(), TrialWaveFunction::evaluateLog(), TrialWaveFunction::evaluateRatios(), TrialWaveFunction::evaluateRatiosAlltoOne(), TrialWaveFunction::evaluateSpinorRatios(), TrialWaveFunction::recompute(), TrialWaveFunction::registerData(), and TrialWaveFunction::updateBuffer().
|
private |
a list of WaveFunctionComponents constituting many-body wave functions
Definition at line 556 of file TrialWaveFunction.h.
Referenced by TrialWaveFunction::acceptMove(), TrialWaveFunction::addComponent(), TrialWaveFunction::calcRatio(), TrialWaveFunction::calcRatioGrad(), TrialWaveFunction::calcRatioGradWithSpin(), TrialWaveFunction::checkOutVariables(), TrialWaveFunction::completeUpdates(), TrialWaveFunction::copyFromBuffer(), TrialWaveFunction::createResource(), TrialWaveFunction::evalGrad(), TrialWaveFunction::evalGradSource(), TrialWaveFunction::evalGradWithSpin(), TrialWaveFunction::evaluateDeltaLog(), TrialWaveFunction::evaluateDeltaLogSetup(), TrialWaveFunction::evaluateDerivatives(), TrialWaveFunction::evaluateDerivativesWF(), TrialWaveFunction::evaluateDerivRatios(), TrialWaveFunction::evaluateGL(), TrialWaveFunction::evaluateGradDerivatives(), TrialWaveFunction::evaluateHessian(), TrialWaveFunction::evaluateLog(), TrialWaveFunction::evaluateRatios(), TrialWaveFunction::evaluateRatiosAlltoOne(), TrialWaveFunction::evaluateSpinorRatios(), TrialWaveFunction::extractOptimizableObjectRefs(), TrialWaveFunction::findMSD(), TrialWaveFunction::getLogs(), TrialWaveFunction::getOrbitals(), TrialWaveFunction::getPhases(), TrialWaveFunction::initializeTWFFastDerivWrapper(), TrialWaveFunction::KECorrection(), TrialWaveFunction::makeClone(), TrialWaveFunction::prepareGroup(), TrialWaveFunction::recompute(), TrialWaveFunction::registerData(), TrialWaveFunction::rejectMove(), TrialWaveFunction::size(), and TrialWaveFunction::updateBuffer().