![]() |
QMCPACK
|
Some ParticleSet functions use the global Random so we need some helper functions to avoid interminant test state when multiple tests are run from a single test program. More...
Go to the source code of this file.
Namespaces | |
qmcplusplus | |
helper functions for EinsplineSetBuilder | |
qmcplusplus::testing | |
SpaceGrid refactored for use with batched estimator design NE should be dropped when QMCHamiltonian/SpaceGrid has been deleted. | |
Functions | |
template<bool GEN_TEST_DATA> | |
std::vector< ParticleSet > | generateRandomParticleSets (ParticleSet &pset_target, ParticleSet &pset_source, std::vector< ParticleSet::ParticlePos > &deterministic_rs, int num_psets) |
This function sets particle set positions from a set of Rs or writes out a set of positions for test reproducibility. More... | |
template std::vector< ParticleSet > | generateRandomParticleSets< false > (ParticleSet &pset_target, ParticleSet &pset_source, std::vector< ParticleSet::ParticlePos > &deterministic_rs, int num_psets) |
template std::vector< ParticleSet > | generateRandomParticleSets< true > (ParticleSet &pset_target, ParticleSet &pset_source, std::vector< ParticleSet::ParticlePos > &deterministic_rs, int num_psets) |
Some ParticleSet functions use the global Random so we need some helper functions to avoid interminant test state when multiple tests are run from a single test program.
Definition in file GenerateRandomParticleSets.h.