38 walker_list_.push_back(std::make_unique<Walker_t>(numPtcls));
47 for (
int i = 0; i <
n; ++i)
56 for (
int iw = 0; iw < nw0; ++iw)
58 for (
int ic = 0; ic < nc; ++ic)
98 walker_list_.push_back(std::make_unique<Walker_t>(**first));
117 while (first != last)
119 (*it++)->makeCopy(**first++);
134 walker->Multiplicity = 1.0;
144 *weights =
walker->Weight;
std::ostream & app_warning()
helper functions for EinsplineSetBuilder
Declaration of a WalkerConfigurations.
walker_list__t::iterator iterator
FIX: a type alias of iterator for an object should not be for just one of many objects it holds...
iterator destroyWalkers(iterator first, iterator last)
destroy Walkers from itstart to itend
void copy(const Array< T1, 3 > &src, Array< T2, 3 > &dest)
void reset()
reset the Walkers
void copyWalkers(iterator first, iterator last, iterator start)
copy walkers
void createWalkers(int numWalkers, size_t numPtcls)
create numWalkers Walkers
T * get_last_address(ParticleAttrib< TinyVector< T, D >> &a)
void resize(int numWalkers, size_t numPtcls)
clean up the walker list and make a new list
typename t_traits::RealType RealType
typedef for real data type
~WalkerConfigurations()
default destructor
QTFull::RealType FullPrecRealType
void putConfigurations(Walker_t::RealType *target, QMCTraits::FullPrecRealType *weights) const
save the particle positions of all the walkers into target
walker_list__t walker_list_
a collection of walkers
T * get_first_address(ParticleAttrib< TinyVector< T, D >> &a)