QMCPACK
GenerateRandomParticleSets.cpp File Reference

Several ParticleSet functions use the global Random so we have to avoid the normal sequence of particleset state transforms and set particle positions explicitly. More...

+ Include dependency graph for GenerateRandomParticleSets.cpp:

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)
 

Detailed Description

Several ParticleSet functions use the global Random so we have to avoid the normal sequence of particleset state transforms and set particle positions explicitly.

This function does that as well as facilitates writing out a set of positions for test reproducibility.

Definition in file GenerateRandomParticleSets.cpp.