16 #ifndef QMCPLUSPLUS_WALKER_CONTROL_MPI_H 17 #define QMCPLUSPLUS_WALKER_CONTROL_MPI_H 24 struct WalkerControlMPITest;
64 std::vector<int>& num_per_rank,
65 std::vector<int>& fair_offset,
66 std::vector<int>& minus,
67 std::vector<int>& plus);
friend WalkerControlMPITest
A set of walkers that are to be advanced by Metropolis Monte Carlo.
int branch(int iter, MCWalkerConfiguration &W, FullPrecRealType trigger) override
legacy: perform branch and swap walkers as required
helper functions for EinsplineSetBuilder
static void determineNewWalkerPopulation(int cur_pop, int num_contexts, int my_context, std::vector< int > &num_per_rank, std::vector< int > &fair_offset, std::vector< int > &minus, std::vector< int > &plus)
creates the distribution plan
WalkerControlMPI(Communicate *comm)
default constructor
Wrapping information on parallelism.
Class to handle walker controls with simple global sum.
void swapWalkersSimple(MCWalkerConfiguration &W)
legacy: swap implementation
Base class to control the walkers for DMC simulations.
QMCTraits::FullPrecRealType FullPrecRealType
typedef of FullPrecRealType
QMCTraits::IndexType IndexType
typedef of IndexType