![]() |
QMCPACK
|
Test the correctness of TrialWaveFunction for the values, gradients and laplacians. More...
Inheritance diagram for WaveFunctionTester:
Collaboration diagram for WaveFunctionTester:Public Member Functions | |
| WaveFunctionTester (const ProjectData &project_data, MCWalkerConfiguration &w, TrialWaveFunction &psi, QMCHamiltonian &h, ParticleSetPool &ptclPool, Communicate *comm) | |
| Constructor. More... | |
| ~WaveFunctionTester () override | |
| bool | run () override |
| Test the evaluation of the wavefunction, gradient and laplacian by comparing to the numerical evaluation. More... | |
| bool | put (xmlNodePtr q) override |
Public Member Functions inherited from QMCDriver | |
| QMCDriver (const ProjectData &project_data, MCWalkerConfiguration &w, TrialWaveFunction &psi, QMCHamiltonian &h, Communicate *comm, const std::string &QMC_driver_type, bool enable_profiling=false) | |
| Constructor. More... | |
| ~QMCDriver () override | |
| int | current () const |
| return current step More... | |
| void | setUpdateMode (bool pbyp) override |
| set the update mode More... | |
| void | setStatus (const std::string &aname, const std::string &h5name, bool append) override |
| Set the status of the QMCDriver. More... | |
| void | add_H_and_Psi (QMCHamiltonian *h, TrialWaveFunction *psi) override |
| add QMCHamiltonian/TrialWaveFunction pair for multiple More... | |
| void | process (xmlNodePtr cur) override |
| initialize with xmlNode More... | |
| xmlNodePtr | getQMCNode () |
| return a xmlnode with update More... | |
| void | putWalkers (std::vector< xmlNodePtr > &wset) override |
| Read walker configurations from *.config.h5 files. More... | |
| void | putTraces (xmlNodePtr txml) override |
| void | requestTraces (bool traces) override |
| void | putWalkerLogs (xmlNodePtr wlxml) override |
| void | requestWalkerLogs (bool allow_walker_logs_) override |
| std::string | getEngineName () override |
| template<class PDT > | |
| void | setValue (const std::string &aname, PDT x) |
| void | setBranchEngine (std::unique_ptr< BranchEngineType > &&be) override |
| set the BranchEngineType More... | |
| std::unique_ptr< BranchEngineType > | getBranchEngine () override |
| return BranchEngineType* More... | |
| int | addObservable (const std::string &aname) |
| RealType | getObservable (int i) |
| void | setTau (RealType i) |
| void | setWalkerOffsets () |
| set global offsets of the walkers More... | |
| RefVector< RandomBase< FullPrecRealType > > | getRngRefs () const |
| return the random generators More... | |
| RandomBase< FullPrecRealType > & | getRng (int i) override |
| return the i-th random generator More... | |
| unsigned long | getDriverMode () override |
Public Member Functions inherited from QMCDriverInterface | |
| virtual | ~QMCDriverInterface () |
| virtual void | setBranchEngine (std::unique_ptr< BranchEngineType > &&be) |
Public Member Functions inherited from MPIObjectBase | |
| MPIObjectBase (Communicate *c) | |
| constructor with communicator More... | |
| int | rank () const |
| return the rank of the communicator More... | |
| int | getGroupID () const |
| return the group id of the communicator More... | |
| Communicate * | getCommunicator () const |
| return myComm More... | |
| Communicate & | getCommRef () const |
| return a TEMPORARY reference to Communicate More... | |
| mpi_comm_type | getMPI () const |
| return MPI communicator if one wants to use MPI directly More... | |
| bool | is_manager () const |
| return true if the rank == 0 More... | |
| const std::string & | getName () const |
| return the name More... | |
| void | setName (const std::string &aname) |
Private Attributes | |
| ParticleSetPool & | PtclPool |
| ParticleSet::ParticlePos | deltaR |
| std::string | checkRatio |
| std::string | checkClone |
| std::string | checkHamPbyP |
| std::string | sourceName |
| std::string | wftricks |
| std::string | checkEloc |
| std::string | checkBasic |
| std::string | checkRatioV |
| xmlNodePtr | myNode |
| double | deltaParam |
| double | toleranceParam |
| bool | outputDeltaVsError |
| bool | checkSlaterDet |
| std::string | checkSlaterDetOption |
| FiniteDiffErrData | DeltaVsError |
| std::ofstream | fout |
| const size_t | ndim |
Additional Inherited Members | |
Public Attributes inherited from QMCDriver | |
| std::bitset< QMC_MODE_MAX > | qmc_driver_mode |
| bits to classify QMCDriver More... | |
| bool | allow_traces |
| whether to allow traces More... | |
| xmlNodePtr | traces_xml |
| traces xml More... | |
| bool | allow_walker_logs |
| whether to allow traces More... | |
| xmlNodePtr | walker_logs_xml |
| traces xml More... | |
| EstimatorManagerBase * | Estimators |
| Observables manager. More... | |
| std::unique_ptr< TraceManager > | Traces |
| Traces manager. More... | |
| std::unique_ptr< WalkerLogManager > | wlog_manager_ |
| Traces manager. More... | |
Protected Member Functions inherited from QMCDriver | |
| bool | putQMCInfo (xmlNodePtr cur) |
| Parses the xml input file for parameter definitions for a single qmc simulation. More... | |
| void | addWalkers (int nwalkers) |
| Add walkers to the end of the ensemble of walkers. More... | |
| void | recordBlock (int block) override |
| record the state of the block More... | |
| bool | finalize (int block, bool dumpwalkers=true) |
| finalize a qmc section More... | |
| std::string | getRotationName (std::string RootName) |
| std::string | getLastRotationName (std::string RootName) |
| const std::string & | get_root_name () const override |
Protected Attributes inherited from QMCDriver | |
| const ProjectData & | project_data_ |
| top-level project data information More... | |
| std::unique_ptr< BranchEngineType > | branchEngine |
| branch engine More... | |
| DriftModifierBase * | DriftModifier |
| drift modifer More... | |
| bool | ResetRandom |
| randomize it More... | |
| bool | AppendRun |
| flag to append or restart the run More... | |
| bool | DumpConfig |
| flag to turn off dumping configurations More... | |
| bool | IsQMCDriver |
| true, if it is a real QMC engine More... | |
| int | MyCounter |
| the number of times this QMCDriver is executed More... | |
| int | kDelay |
| the number to delay updates by More... | |
| int | Period4CheckPoint |
| period of dumping walker configurations and everything else for restart More... | |
| int | Period4CheckProperties |
| period of dumping walker positions and IDs for Forward Walking More... | |
| int | Period4WalkerDump |
| period of recording walker configurations More... | |
| int | Period4ConfigDump |
| period of recording walker positions and IDs for forward walking afterwards More... | |
| IndexType | CurrentStep |
| current step More... | |
| IndexType | nBlocks |
| maximum number of blocks More... | |
| IndexType | nSteps |
| maximum number of steps More... | |
| IndexType | nSubSteps |
| number of steps between a step: VMCs do not evaluate energies More... | |
| IndexType | nWarmupSteps |
| number of warmup steps More... | |
| IndexType | nAccept |
| counter for number of moves accepted More... | |
| IndexType | nReject |
| counter for number of moves /rejected More... | |
| IndexType | nBlocksBetweenRecompute |
| the number of blocks between recomptePsi More... | |
| IndexType | nTargetWalkers |
| the number of walkers More... | |
| IndexType | nTargetSamples |
| the number of saved samples More... | |
| IndexType | nStepsBetweenSamples |
| alternate method of setting QMC run parameters More... | |
| RealType | nSamplesPerThread |
| samples per thread More... | |
| RealType | nTargetPopulation |
| target population More... | |
| RealType | Tau |
| timestep More... | |
| int | MaxCPUSecs |
| maximum cpu in secs More... | |
| RealType | m_oneover2tau |
Time-step factor . More... | |
| RealType | m_sqrttau |
Time-step factor . More... | |
| xmlNodePtr | qmcNode |
| pointer to qmc node in xml file More... | |
| const std::string | QMCType |
| type of QMC driver More... | |
| std::string | h5FileRoot |
| the root of h5File More... | |
| std::string | RootName |
| root of all the output files More... | |
| ParameterSet | m_param |
| store any parameter that has to be read from a file More... | |
| MCWalkerConfiguration & | W |
| walker ensemble More... | |
| TrialWaveFunction & | Psi |
| trial function More... | |
| QMCHamiltonian & | H |
| Hamiltonian. More... | |
| std::unique_ptr< HDFWalkerOutput > | wOut |
| record engine for walkers More... | |
| std::vector< TrialWaveFunction * > | Psi1 |
| a list of TrialWaveFunctions for multiple method More... | |
| std::vector< QMCHamiltonian * > | H1 |
| a list of QMCHamiltonians for multiple method More... | |
| UPtrVector< RandomBase< FullPrecRealType > > | Rng |
| Random number generators. More... | |
| std::vector< xmlNodePtr > | mcwalkerNodePtr |
| a list of mcwalkerset element More... | |
| ParticleSet::ParticlePos | drift |
| temporary storage for drift More... | |
| ParticleSet::ParticlePos | deltaR |
| temporary storage for random displacement More... | |
| RealType | SpinMass |
| spin mass for spinor calcs More... | |
| int | rotation |
Protected Attributes inherited from MPIObjectBase | |
| Communicate * | myComm |
| pointer to Communicate More... | |
| std::string | ClassName |
| class Name More... | |
| std::string | myName |
| name of the object More... | |
Test the correctness of TrialWaveFunction for the values, gradients and laplacians.
Definition at line 42 of file WaveFunctionTester.h.
type definition
Definition at line 46 of file WaveFunctionTester.h.
| WaveFunctionTester | ( | const ProjectData & | project_data, |
| MCWalkerConfiguration & | w, | ||
| TrialWaveFunction & | psi, | ||
| QMCHamiltonian & | h, | ||
| ParticleSetPool & | ptclPool, | ||
| Communicate * | comm | ||
| ) |
Constructor.
Definition at line 39 of file WaveFunctionTester.cpp.
References ParameterSet::add(), qmcplusplus::app_log(), WaveFunctionTester::checkBasic, WaveFunctionTester::checkClone, WaveFunctionTester::checkEloc, WaveFunctionTester::checkHamPbyP, WaveFunctionTester::checkRatio, WaveFunctionTester::checkRatioV, WaveFunctionTester::checkSlaterDetOption, WaveFunctionTester::deltaParam, WaveFunctionTester::deltaR, ParticleSet::getTotalNum(), QMCDriver::m_param, qmcplusplus::makeGaussRandom(), WaveFunctionTester::ndim, WaveFunctionTester::sourceName, WaveFunctionTester::toleranceParam, and WaveFunctionTester::wftricks.
|
override |
Definition at line 82 of file WaveFunctionTester.cpp.
|
privatedelete |
Copy Constructor (disabled)
|
private |
Definition at line 722 of file WaveFunctionTester.cpp.
References WaveFunctionTester::checkGradients(), WaveFunctionTester::checkSlaterDet, FiniteDifference::computeFiniteDiff(), WaveFunctionTester::deltaParam, qmcplusplus::det(), SlaterDet::Dets, TrialWaveFunction::evaluateLog(), FiniteDifference::FiniteDiff_LowOrder, FiniteDifference::finiteDifferencePoints(), WaveFunctionTester::fout, ParticleSet::G, TrialWaveFunction::getOrbitals(), TrialWaveFunction::getPhase(), ParticleSet::getTotalNum(), ParticleSet::L, ParticleSet::loadWalker(), ParticleSet::makeMove(), WaveFunctionTester::ndim, QMCDriver::Psi, ParticleSet::R, ParticleSet::rejectMove(), SPOSet::size(), ParticleSet::update(), and QMCDriver::W.
Referenced by WaveFunctionTester::runBasicTest().
|
private |
Definition at line 632 of file WaveFunctionTester.cpp.
References qmcplusplus::abs(), qmcplusplus::Units::charge::e, WaveFunctionTester::fout, qmcplusplus::log(), OHMMS_DIM, ParticleSet::R, WaveFunctionTester::toleranceParam, and QMCDriver::W.
Referenced by WaveFunctionTester::checkGradientAtConfiguration().
|
private |
Definition at line 595 of file WaveFunctionTester.cpp.
References FiniteDifference::computeFiniteDiff(), TrialWaveFunction::evaluateLog(), FiniteDifference::FiniteDiff_LowOrder, FiniteDifference::finiteDifferencePoints(), TrialWaveFunction::getPhase(), WaveFunctionTester::ndim, QMCDriver::Psi, ParticleSet::R, ParticleSet::update(), and QMCDriver::W.
Referenced by WaveFunctionTester::runBasicTest().
|
inlineoverrideprivatevirtual |
Implements QMCDriverInterface.
Definition at line 110 of file WaveFunctionTester.h.
References qmcplusplus::WF_TEST.
|
privatedelete |
Copy Operator (disabled)
|
private |
Definition at line 216 of file WaveFunctionTester.cpp.
References APP_ABORT, qmcplusplus::app_log(), WalkerConfigurations::begin(), QMCHamiltonian::evaluate(), TrialWaveFunction::evaluateLog(), QMCHamiltonian::getObservable(), QMCHamiltonian::getObservableName(), ParticleSetPool::getPool(), ParticleSet::getTotalNum(), QMCDriver::H, Walker< t_traits, p_traits >::Properties, QMCDriver::Psi, WaveFunctionTester::PtclPool, ParticleSet::R, Walker< t_traits, p_traits >::R, QMCHamiltonian::sizeOfObservables(), WaveFunctionTester::sourceName, qmcplusplus::sqrt(), ParticleSet::update(), and QMCDriver::W.
Referenced by WaveFunctionTester::run().
|
overridevirtual |
Implements QMCDriverInterface.
Definition at line 1687 of file WaveFunctionTester.cpp.
References WaveFunctionTester::DeltaVsError, WaveFunctionTester::myNode, WaveFunctionTester::outputDeltaVsError, FiniteDiffErrData::put(), and QMCDriver::putQMCInfo().
Referenced by WaveFunctionTester::run().
|
overridevirtual |
Test the evaluation of the wavefunction, gradient and laplacian by comparing to the numerical evaluation.
Use the finite difference formulas formulas
and
where
and
is a small displacement for the ith particle.
Implements QMCDriverInterface.
Definition at line 101 of file WaveFunctionTester.cpp.
References qmcplusplus::app_log(), WaveFunctionTester::checkBasic, WaveFunctionTester::checkClone, WaveFunctionTester::checkEloc, WaveFunctionTester::checkRatio, WaveFunctionTester::checkRatioV, WaveFunctionTester::checkSlaterDet, WaveFunctionTester::checkSlaterDetOption, OHMMS::Controller, WaveFunctionTester::deltaR, WaveFunctionTester::fout, QMCDriver::H, qmcplusplus::makeGaussRandom(), WaveFunctionTester::ndim, WaveFunctionTester::printEloc(), WaveFunctionTester::put(), QMCDriver::qmcNode, Communicate::rank(), QMCDriver::Rng, WaveFunctionTester::runBasicTest(), WaveFunctionTester::runCloneTest(), WaveFunctionTester::runDerivCloneTest(), WaveFunctionTester::runDerivNLPPTest(), WaveFunctionTester::runDerivTest(), WaveFunctionTester::runGradSourceTest(), WaveFunctionTester::runNodePlot(), WaveFunctionTester::runRatioTest2(), WaveFunctionTester::runRatioV(), QMCHamiltonian::setRandomGenerator(), WaveFunctionTester::sourceName, and WaveFunctionTester::wftricks.
|
private |
basic tests for G and L
Definition at line 924 of file WaveFunctionTester.cpp.
References qmcplusplus::abs(), qmcplusplus::app_log(), WalkerConfigurations::begin(), TrialWaveFunction::calcRatio(), WaveFunctionTester::checkGradientAtConfiguration(), WaveFunctionTester::computeNumericalGrad(), qmcplusplus::cos(), WaveFunctionTester::deltaR, WaveFunctionTester::DeltaVsError, qmcplusplus::Units::charge::e, WalkerConfigurations::end(), TrialWaveFunction::evaluateLog(), qmcplusplus::exp(), WaveFunctionTester::fout, ParticleSet::G, TrialWaveFunction::getPhase(), TrialWaveFunction::getPhaseDiff(), ParticleSet::getTotalNum(), FiniteDiffErrData::gradientComponentIndex, ParticleSet::L, qmcplusplus::makeGaussRandom(), ParticleSet::makeMove(), WaveFunctionTester::ndim, OHMMS_DIM, WaveFunctionTester::outputDeltaVsError, FiniteDiffErrData::outputFile, FiniteDiffErrData::particleIndex, QMCDriver::Psi, ParticleSet::R, ParticleSet::rejectMove(), TrialWaveFunction::rejectMove(), qmcplusplus::sin(), qmcplusplus::sqrt(), ParticleSet::update(), and QMCDriver::W.
Referenced by WaveFunctionTester::run().
|
private |
test clone implementations of new wavefunctions and operators
Definition at line 164 of file WaveFunctionTester.cpp.
References PooledMemory< T_scalar, Alloc >::allocate(), qmcplusplus::app_log(), WalkerConfigurations::begin(), PooledMemory< T_scalar, Alloc >::clear(), TrialWaveFunction::copyFromBuffer(), PooledMemory< T_scalar, Alloc >::current(), Walker< t_traits, p_traits >::DataSet, QMCHamiltonian::evaluate(), TrialWaveFunction::evaluateLog(), ParticleSet::getTotalNum(), QMCDriver::H, QMCHamiltonian::makeClone(), TrialWaveFunction::makeClone(), Walker< t_traits, p_traits >::Properties, QMCDriver::Psi, ParticleSet::R, Walker< t_traits, p_traits >::R, TrialWaveFunction::registerData(), PooledMemory< T_scalar, Alloc >::size(), ParticleSet::update(), TrialWaveFunction::updateBuffer(), and QMCDriver::W.
Referenced by WaveFunctionTester::run().
|
private |
Definition at line 1925 of file WaveFunctionTester.cpp.
References qmcplusplus::app_log(), WalkerConfigurations::begin(), TrialWaveFunction::checkInVariables(), TrialWaveFunction::checkOutVariables(), WaveFunctionTester::deltaR, qmcplusplus::Units::charge::e, QMCHamiltonian::evaluate(), TrialWaveFunction::evaluateDerivatives(), TrialWaveFunction::evaluateLog(), WaveFunctionTester::fout, ParticleSet::G, QMCHamiltonian::getLocalEnergy(), QMCHamiltonian::getLocalPotential(), QMCHamiltonian::getObservable(), QMCHamiltonian::getObservableName(), ParticleSet::getTotalNum(), QMCDriver::H, ParticleSet::L, QMCHamiltonian::makeClone(), TrialWaveFunction::makeClone(), VariableSet::print(), QMCDriver::Psi, ParticleSet::R, Walker< t_traits, p_traits >::R, VariableSet::resetIndex(), TrialWaveFunction::resetParameters(), QMCDriver::Rng, QMCHamiltonian::setRandomGenerator(), VariableSet::size(), QMCHamiltonian::sizeOfObservables(), ParticleSet::update(), and QMCDriver::W.
Referenced by WaveFunctionTester::run().
|
private |
Definition at line 1809 of file WaveFunctionTester.cpp.
References qmcplusplus::app_log(), WalkerConfigurations::begin(), TrialWaveFunction::checkInVariables(), TrialWaveFunction::checkOutVariables(), VariableSet::clear(), OHMMS::Controller, WaveFunctionTester::deltaR, qmcplusplus::Units::charge::e, QMCHamiltonian::evaluate(), TrialWaveFunction::evaluateDerivatives(), TrialWaveFunction::evaluateLog(), QMCHamiltonian::evaluateValueAndDerivatives(), QMCHamiltonian::evaluateVariableEnergy(), ParticleSet::G, QMCHamiltonian::getLocalEnergy(), QMCHamiltonian::getObservable(), QMCHamiltonian::getObservableName(), ParticleSet::getTotalNum(), QMCDriver::H, ParticleSet::L, VariableSet::print(), Walker< t_traits, p_traits >::Properties, QMCDriver::Psi, ParticleSet::R, Walker< t_traits, p_traits >::R, Communicate::rank(), VariableSet::resetIndex(), TrialWaveFunction::resetParameters(), QMCHamiltonian::setPrimary(), VariableSet::size(), QMCHamiltonian::sizeOfObservables(), ParticleSet::update(), and QMCDriver::W.
Referenced by WaveFunctionTester::run().
|
private |
Definition at line 1707 of file WaveFunctionTester.cpp.
References qmcplusplus::app_log(), WalkerConfigurations::begin(), TrialWaveFunction::checkInVariables(), TrialWaveFunction::checkOutVariables(), VariableSet::clear(), WaveFunctionTester::deltaR, qmcplusplus::Units::charge::e, QMCHamiltonian::evaluate(), TrialWaveFunction::evaluateDerivatives(), TrialWaveFunction::evaluateLog(), WaveFunctionTester::fout, ParticleSet::G, QMCHamiltonian::getLocalEnergy(), QMCHamiltonian::getLocalPotential(), QMCHamiltonian::getObservable(), QMCHamiltonian::getObservableName(), ParticleSet::getTotalNum(), QMCDriver::H, ParticleSet::L, VariableSet::print(), Walker< t_traits, p_traits >::Properties, QMCDriver::Psi, ParticleSet::R, Walker< t_traits, p_traits >::R, VariableSet::resetIndex(), TrialWaveFunction::resetParameters(), QMCHamiltonian::setPrimary(), VariableSet::size(), QMCHamiltonian::sizeOfObservables(), ParticleSet::update(), and QMCDriver::W.
Referenced by WaveFunctionTester::run().
|
private |
Definition at line 1440 of file WaveFunctionTester.cpp.
References qmcplusplus::app_log(), QMCHamiltonian::auxHevaluate(), WalkerConfigurations::begin(), WaveFunctionTester::deltaR, TrialWaveFunction::evalGradSource(), QMCHamiltonian::evaluate(), TrialWaveFunction::evaluateLog(), WaveFunctionTester::fout, ParticleSet::G, QMCHamiltonian::getObservable(), QMCHamiltonian::getObservableName(), ParticleSetPool::getPool(), ParticleSet::getTotalNum(), QMCDriver::H, ParticleSet::L, qmcplusplus::log(), OHMMS_DIM, Walker< t_traits, p_traits >::Properties, QMCDriver::Psi, WaveFunctionTester::PtclPool, ParticleSet::R, Walker< t_traits, p_traits >::R, QMCHamiltonian::sizeOfObservables(), WaveFunctionTester::sourceName, ParticleSet::update(), and QMCDriver::W.
Referenced by WaveFunctionTester::run().
|
private |
Definition at line 2055 of file WaveFunctionTester.cpp.
References ParameterSet::add(), qmcplusplus::app_log(), WalkerConfigurations::begin(), TrialWaveFunction::calcRatio(), qmcplusplus::Cartesian, ParticleSet::convert2Cart(), TrialWaveFunction::copyFromBuffer(), Walker< t_traits, p_traits >::DataSet, ParticleSet::getTotalNum(), qmcplusplus::Lattice, ParticleSet::loadWalker(), ParticleSet::makeMove(), WaveFunctionTester::myNode, QMCDriver::Psi, ParameterSet::put(), putContent(), ParticleSet::R, ParticleSet::rejectMove(), TrialWaveFunction::rejectMove(), QMCDriver::RootName, ParticleSet::update(), and QMCDriver::W.
Referenced by WaveFunctionTester::run().
|
private |
the basic ratios check
Definition at line 1087 of file WaveFunctionTester.cpp.
References ParticleSet::acceptMove(), TrialWaveFunction::acceptMove(), qmcplusplus::app_log(), WalkerConfigurations::begin(), WaveFunctionTester::checkHamPbyP, TrialWaveFunction::copyFromBuffer(), Walker< t_traits, p_traits >::DataSet, WaveFunctionTester::deltaR, WalkerConfigurations::end(), QMCHamiltonian::evaluate(), TrialWaveFunction::evaluateLog(), qmcplusplus::exp(), qmcplusplus::for(), WaveFunctionTester::fout, ParticleSet::G, QMCHamiltonian::getLocalEnergy(), QMCHamiltonian::getObservable(), QMCHamiltonian::getObservableName(), TrialWaveFunction::getPhase(), ParticleSet::getTotalNum(), QMCDriver::H, ParticleSet::L, ParticleSet::loadWalker(), qmcplusplus::makeGaussRandom(), ParticleSet::makeMove(), Walker< t_traits, p_traits >::Properties, QMCDriver::Psi, ParticleSet::R, Walker< t_traits, p_traits >::R, Random, TrialWaveFunction::registerData(), ParticleSet::rejectMove(), TrialWaveFunction::rejectMove(), Walker< t_traits, p_traits >::resetProperty(), QMCHamiltonian::saveProperty(), ParticleSet::saveWalker(), QMCHamiltonian::sizeOfObservables(), QMCDriver::Tau, ParticleSet::update(), TrialWaveFunction::updateBuffer(), and QMCDriver::W.
|
private |
Definition at line 1282 of file WaveFunctionTester.cpp.
References PooledMemory< T_scalar, Alloc >::allocate(), qmcplusplus::app_log(), WalkerConfigurations::begin(), TrialWaveFunction::calcRatio(), TrialWaveFunction::calcRatioGrad(), TrialWaveFunction::copyFromBuffer(), Walker< t_traits, p_traits >::DataSet, WaveFunctionTester::deltaR, WalkerConfigurations::end(), TrialWaveFunction::evalGrad(), QMCHamiltonian::evaluate(), TrialWaveFunction::evaluateLog(), WaveFunctionTester::fout, ParticleSet::G, QMCHamiltonian::getObservable(), QMCHamiltonian::getObservableName(), TrialWaveFunction::getPhase(), ParticleSet::getTotalNum(), QMCDriver::H, ParticleSet::loadWalker(), qmcplusplus::makeGaussRandom(), ParticleSet::makeMove(), WaveFunctionTester::ndim, Walker< t_traits, p_traits >::Properties, QMCDriver::Psi, TrialWaveFunction::registerData(), ParticleSet::rejectMove(), TrialWaveFunction::rejectMove(), QMCHamiltonian::saveProperty(), QMCHamiltonian::sizeOfObservables(), QMCDriver::Tau, TrialWaveFunction::updateBuffer(), and QMCDriver::W.
Referenced by WaveFunctionTester::run().
|
private |
test ratios with virtual moves
Definition at line 1377 of file WaveFunctionTester.cpp.
References qmcplusplus::app_log(), WalkerConfigurations::begin(), WaveFunctionTester::deltaR, ParticleSet::DistTables, WalkerConfigurations::end(), TrialWaveFunction::evaluateRatios(), ParticleSet::getTotalNum(), qmcplusplus::makeGaussRandom(), VirtualParticleSet::makeMoves(), QMCDriver::Psi, ParticleSet::R, qmcplusplus::randomize(), TrialWaveFunction::registerData(), ParticleSet::rejectMove(), TrialWaveFunction::resetPhaseDiff(), QMCDriver::Tau, ParticleSet::update(), and QMCDriver::W.
Referenced by WaveFunctionTester::run().
|
private |
Definition at line 1590 of file WaveFunctionTester.cpp.
References qmcplusplus::app_log(), WalkerConfigurations::begin(), OHMMS::Controller, qmcplusplus::cos(), WaveFunctionTester::deltaR, qmcplusplus::Dot(), TrialWaveFunction::evalGradSource(), QMCHamiltonian::evaluate(), TrialWaveFunction::evaluateLog(), qmcplusplus::exp(), ParticleSet::G, TrialWaveFunction::getPhase(), ParticleSetPool::getPool(), ParticleSet::getTotalNum(), QMCDriver::H, qmcplusplus::imag(), ParticleSet::L, qmcplusplus::log(), OHMMS_DIM, Walker< t_traits, p_traits >::Properties, QMCDriver::Psi, WaveFunctionTester::PtclPool, ParticleSet::R, Walker< t_traits, p_traits >::R, Communicate::rank(), qmcplusplus::real(), qmcplusplus::sin(), WaveFunctionTester::sourceName, qmcplusplus::Sum(), ParticleSet::update(), and QMCDriver::W.
|
private |
Definition at line 65 of file WaveFunctionTester.h.
Referenced by WaveFunctionTester::run(), and WaveFunctionTester::WaveFunctionTester().
|
private |
Definition at line 64 of file WaveFunctionTester.h.
Referenced by WaveFunctionTester::run(), and WaveFunctionTester::WaveFunctionTester().
|
private |
Definition at line 64 of file WaveFunctionTester.h.
Referenced by WaveFunctionTester::run(), and WaveFunctionTester::WaveFunctionTester().
|
private |
Definition at line 64 of file WaveFunctionTester.h.
Referenced by WaveFunctionTester::runRatioTest(), and WaveFunctionTester::WaveFunctionTester().
|
private |
Definition at line 64 of file WaveFunctionTester.h.
Referenced by WaveFunctionTester::run(), and WaveFunctionTester::WaveFunctionTester().
|
private |
Definition at line 65 of file WaveFunctionTester.h.
Referenced by WaveFunctionTester::run(), and WaveFunctionTester::WaveFunctionTester().
|
private |
Definition at line 70 of file WaveFunctionTester.h.
Referenced by WaveFunctionTester::checkGradientAtConfiguration(), and WaveFunctionTester::run().
|
private |
Definition at line 71 of file WaveFunctionTester.h.
Referenced by WaveFunctionTester::run(), and WaveFunctionTester::WaveFunctionTester().
|
private |
Definition at line 67 of file WaveFunctionTester.h.
Referenced by WaveFunctionTester::checkGradientAtConfiguration(), and WaveFunctionTester::WaveFunctionTester().
|
private |
Definition at line 63 of file WaveFunctionTester.h.
Referenced by WaveFunctionTester::run(), WaveFunctionTester::runBasicTest(), WaveFunctionTester::runDerivCloneTest(), WaveFunctionTester::runDerivNLPPTest(), WaveFunctionTester::runDerivTest(), WaveFunctionTester::runGradSourceTest(), WaveFunctionTester::runRatioTest(), WaveFunctionTester::runRatioTest2(), WaveFunctionTester::runRatioV(), WaveFunctionTester::runZeroVarianceTest(), and WaveFunctionTester::WaveFunctionTester().
|
private |
Definition at line 72 of file WaveFunctionTester.h.
Referenced by WaveFunctionTester::put(), and WaveFunctionTester::runBasicTest().
|
private |
Definition at line 113 of file WaveFunctionTester.h.
Referenced by WaveFunctionTester::checkGradientAtConfiguration(), WaveFunctionTester::checkGradients(), WaveFunctionTester::run(), WaveFunctionTester::runBasicTest(), WaveFunctionTester::runDerivCloneTest(), WaveFunctionTester::runDerivTest(), WaveFunctionTester::runGradSourceTest(), WaveFunctionTester::runRatioTest(), and WaveFunctionTester::runRatioTest2().
|
private |
Definition at line 66 of file WaveFunctionTester.h.
Referenced by WaveFunctionTester::put(), and WaveFunctionTester::runNodePlot().
|
private |
Definition at line 114 of file WaveFunctionTester.h.
Referenced by WaveFunctionTester::checkGradientAtConfiguration(), WaveFunctionTester::computeNumericalGrad(), WaveFunctionTester::run(), WaveFunctionTester::runBasicTest(), WaveFunctionTester::runRatioTest2(), and WaveFunctionTester::WaveFunctionTester().
|
private |
Definition at line 69 of file WaveFunctionTester.h.
Referenced by WaveFunctionTester::put(), and WaveFunctionTester::runBasicTest().
|
private |
Definition at line 62 of file WaveFunctionTester.h.
Referenced by WaveFunctionTester::printEloc(), WaveFunctionTester::runGradSourceTest(), and WaveFunctionTester::runZeroVarianceTest().
|
private |
Definition at line 64 of file WaveFunctionTester.h.
Referenced by WaveFunctionTester::printEloc(), WaveFunctionTester::run(), WaveFunctionTester::runGradSourceTest(), WaveFunctionTester::runZeroVarianceTest(), and WaveFunctionTester::WaveFunctionTester().
|
private |
Definition at line 68 of file WaveFunctionTester.h.
Referenced by WaveFunctionTester::checkGradients(), and WaveFunctionTester::WaveFunctionTester().
|
private |
Definition at line 64 of file WaveFunctionTester.h.
Referenced by WaveFunctionTester::run(), and WaveFunctionTester::WaveFunctionTester().