QMCPACK
DMCBatched::StateForThread Struct Reference

To avoid 10's of arguments to runDMCStep. More...

+ Collaboration diagram for DMCBatched::StateForThread:

Public Member Functions

 StateForThread (const QMCDriverInput &qmci, DriftModifierBase &drift_mod, SFNBranch &branch_eng, MCPopulation &pop, const size_t steps_per_block)
 

Public Attributes

const QMCDriverInputqmcdrv_input
 
const DriftModifierBasedrift_modifier
 
const MCPopulationpopulation
 
SFNBranchbranch_engine
 
IndexType recalculate_properties_period
 
const size_t steps_per_block
 
IndexType step = -1
 
IndexType global_step = -1
 
bool is_recomputing_block = false
 

Detailed Description

To avoid 10's of arguments to runDMCStep.

There should be a division between const input to runVMCStep And step to step state

Definition at line 47 of file DMCBatched.h.

Constructor & Destructor Documentation

◆ StateForThread()

StateForThread ( const QMCDriverInput qmci,
DriftModifierBase drift_mod,
SFNBranch branch_eng,
MCPopulation pop,
const size_t  steps_per_block 
)
inline

Definition at line 59 of file DMCBatched.h.

64  : qmcdrv_input(qmci),
65  drift_modifier(drift_mod),
66  population(pop),
67  branch_engine(branch_eng),
69  {}
const DriftModifierBase & drift_modifier
Definition: DMCBatched.h:50
const QMCDriverInput & qmcdrv_input
Definition: DMCBatched.h:49

Member Data Documentation

◆ branch_engine

SFNBranch& branch_engine

Definition at line 52 of file DMCBatched.h.

Referenced by DMCBatched::advanceWalkers().

◆ drift_modifier

const DriftModifierBase& drift_modifier

Definition at line 50 of file DMCBatched.h.

Referenced by DMCBatched::advanceWalkers().

◆ global_step

IndexType global_step = -1

Definition at line 56 of file DMCBatched.h.

Referenced by DMCBatched::advanceWalkers(), and DMCBatched::run().

◆ is_recomputing_block

bool is_recomputing_block = false

Definition at line 57 of file DMCBatched.h.

Referenced by DMCBatched::run(), and DMCBatched::runDMCStep().

◆ population

const MCPopulation& population

Definition at line 51 of file DMCBatched.h.

Referenced by DMCBatched::advanceWalkers(), and DMCBatched::runDMCStep().

◆ qmcdrv_input

const QMCDriverInput& qmcdrv_input

Definition at line 49 of file DMCBatched.h.

Referenced by DMCBatched::advanceWalkers().

◆ recalculate_properties_period

IndexType recalculate_properties_period

Definition at line 53 of file DMCBatched.h.

Referenced by DMCBatched::run().

◆ step

IndexType step = -1

Definition at line 55 of file DMCBatched.h.

Referenced by DMCBatched::run(), and DMCBatched::runDMCStep().

◆ steps_per_block

const size_t steps_per_block

Definition at line 54 of file DMCBatched.h.

Referenced by DMCBatched::runDMCStep().


The documentation for this struct was generated from the following file: