QMCPACK
test_WalkerControl.h
Go to the documentation of this file.
1 //////////////////////////////////////////////////////////////////////////////////////
2 // This file is distributed under the University of Illinois/NCSA Open Source License.
3 // See LICENSE file in top directory for details.
4 //
5 // Copyright (c) 2020 QMCPACK developers.
6 //
7 // File developed by: Peter Doak, doakpw@ornl.gov, Oak Ridge National Laboratory
8 //
9 // File created by: Peter Doak, doakpw@ornl.gov, Oak Ridge National Laboratory
10 //////////////////////////////////////////////////////////////////////////////////////
11 
12 #ifndef QMCPLUSPLUS_TEST_WALKERCONTROLMPI_H
13 #define QMCPLUSPLUS_TEST_WALKERCONTROLMPI_H
14 
17 
18 namespace qmcplusplus
19 {
20 namespace testing
21 {
22 /** Once there is only one driver type rename
23  */
25 {
26 public:
28  void testMultiplicity(std::vector<int>& rank_counts_expanded, std::vector<int>& rank_counts_after);
29  void testPopulationDiff(std::vector<int>& rank_counts_before, std::vector<int>& rank_counts_after);
30  void makeValidWalkers();
31  static void testNewDistribution(std::vector<int>& minus, std::vector<int>& plus);
32 
33 private:
35 
40 };
41 } // namespace testing
42 } // namespace qmcplusplus
43 
44 #endif /* QMCPLUSPLUSTEST_WALKERCONTROLMPI_H */
helper functions for EinsplineSetBuilder
Definition: Configuration.h:43
void reportWalkersPerRank(Communicate *c, MCPopulation &pop)
Class for controlling the walkers for DMC simulations.
Definition: WalkerControl.h:40
A set of light weight walkers that are carried between driver sections and restart.
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.
Wrapping information on parallelism.
Definition: Communicate.h:68
static void testNewDistribution(std::vector< int > &minus, std::vector< int > &plus)
Once there is only one driver type rename.
std::unique_ptr< T > UPtr