![]() |
QMCPACK
|
Once there is only one driver type rename. More...
Public Member Functions | |
UnifiedDriverWalkerControlMPITest () | |
void | testMultiplicity (std::vector< int > &rank_counts_expanded, std::vector< int > &rank_counts_after) |
void | testPopulationDiff (std::vector< int > &rank_counts_before, std::vector< int > &rank_counts_after) |
void | makeValidWalkers () |
Getting the "fat" walker valid enough to be MPI swapable. More... | |
Static Public Member Functions | |
static void | testNewDistribution (std::vector< int > &minus, std::vector< int > &plus) |
Private Member Functions | |
void | reportWalkersPerRank (Communicate *c, MCPopulation &pop) |
Private Attributes | |
SetupPools | dpools_ |
WalkerConfigurations | walker_confs |
UPtr< MCPopulation > | pop_ |
WalkerControl | wc_ |
Once there is only one driver type rename.
Definition at line 24 of file test_WalkerControl.h.
Definition at line 33 of file test_WalkerControl.cpp.
References SetupPools::comm, UnifiedDriverWalkerControlMPITest::dpools_, SetupPools::hamiltonian_pool, qmcplusplus::num_ranks, SetupPools::particle_pool, UnifiedDriverWalkerControlMPITest::pop_, Communicate::rank(), Communicate::size(), UnifiedDriverWalkerControlMPITest::walker_confs, and SetupPools::wavefunction_pool.
void makeValidWalkers | ( | ) |
Getting the "fat" walker valid enough to be MPI swapable.
By no means is this "valid" from the perspective of running QMC See QMCDriverNew::initialLogEvaluation A fat walker does not seem to be "valid" until all that is done.
Definition at line 51 of file test_WalkerControl.cpp.
References UnifiedDriverWalkerControlMPITest::pop_.
|
private |
Definition at line 70 of file test_WalkerControl.cpp.
References Communicate::allreduce(), MCPopulation::get_num_local_walkers(), Communicate::rank(), and Communicate::size().
void testMultiplicity | ( | std::vector< int > & | rank_counts_expanded, |
std::vector< int > & | rank_counts_after | ||
) |
|
static |
Definition at line 90 of file test_WalkerControl.cpp.
References WalkerControl::determineNewWalkerPopulation().
Referenced by qmcplusplus::TEST_CASE().
void testPopulationDiff | ( | std::vector< int > & | rank_counts_before, |
std::vector< int > & | rank_counts_after | ||
) |
|
private |
Definition at line 36 of file test_WalkerControl.h.
Referenced by UnifiedDriverWalkerControlMPITest::UnifiedDriverWalkerControlMPITest().
|
private |
Definition at line 38 of file test_WalkerControl.h.
Referenced by UnifiedDriverWalkerControlMPITest::makeValidWalkers(), and UnifiedDriverWalkerControlMPITest::UnifiedDriverWalkerControlMPITest().
|
private |
Definition at line 37 of file test_WalkerControl.h.
Referenced by UnifiedDriverWalkerControlMPITest::UnifiedDriverWalkerControlMPITest().
|
private |
Definition at line 39 of file test_WalkerControl.h.