13 #ifndef QMCPLUSPLUS_WALKERLOGCOLLECTOR_H 14 #define QMCPLUSPLUS_WALKERLOGCOLLECTOR_H 22 template<
class QT,
class PT>
25 class TrialWaveFunction;
27 using MCPWalker = Walker<QMCTraits, PtclOnLatticeTraits>;
Array< WLog::PsiVal, 2 > Gtmp
tmp storage for walker wavefunction gradients
Array< WLog::Real, 2 > Rtmp
tmp storage for walker positions
helper functions for EinsplineSetBuilder
Array< WLog::PsiVal, 1 > Ltmp
tmp storage for walker wavefunciton laplacians
int energy_index
location of LocalEnergy in ParticleSet::PropertyList
bool verbose
controls verbosity of log file writes
int step_period
period between MC steps for data collection
WalkerLogBuffer< WLog::Int > walker_property_int_buffer
buffer containing integer walker properties
void checkBuffers()
Check that all buffers have the same number of rows.
std::vector< size_t > property_indices
indices in ParticleSet::PropertyList for included quantities
WalkerLogBuffer< WLog::Real > walker_property_real_buffer
buffer containing real-valued walker properties
Collection of Local Energy Operators.
std::unordered_set< std::string > properties_include
ParticleSet::PropertyList quantities to include.
Crowd-level resource for walker log collection.
const WalkerLogState & state_
state data set by WalkerLogManager
void resetBuffers()
resize buffers to zero rows
Array< WLog::Real, 1 > Stmp
tmp storage for walker spins
bool logs_active
whether logs are active in the current driver
Specialized paritlce class for atomistic simulations.
WalkerLogBuffer< WLog::Real > walker_particle_real_buffer
buffer containing per-particle walker data
void init()
shared variable setting in constructors
void collect(const MCPWalker &walker, const ParticleSet &pset, const TrialWaveFunction &wfn, const QMCHamiltonian &ham, int step=-1)
collect all data for one walker into the data buffers
Class to represent a many-body trial wave function.
std::vector< WLog::Real > energies
LocalEnergy information for each walker throughout the MC block.
Walker< QMCTraits, PtclOnLatticeTraits > MCPWalker
void startBlock()
resize buffers to zero rows at beginning of each MC block
Helper struct holding data transferred from WalkerLogManager to WalkerLogCollector following input re...
std::vector< size_t > steps
MC step information for each walker throughout the MC block.
A container class to represent a walker.
WalkerLogCollector(const WalkerLogState &state)
constructor. The state should be given by the manager.