QMCPACK
VMCBatched::StateForThread Struct Reference

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

+ Collaboration diagram for VMCBatched::StateForThread:

Public Member Functions

 StateForThread (const QMCDriverInput &qmci, const VMCDriverInput &vmci, DriftModifierBase &drift_mod, MCPopulation &pop, const size_t steps_per_block)
 

Public Attributes

const QMCDriverInputqmcdrv_input
 
const VMCDriverInputvmcdrv_input
 
const DriftModifierBasedrift_modifier
 
const MCPopulationpopulation
 
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 runVMCStep.

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

Definition at line 47 of file VMCBatched.h.

Constructor & Destructor Documentation

◆ StateForThread()

StateForThread ( const QMCDriverInput qmci,
const VMCDriverInput vmci,
DriftModifierBase drift_mod,
MCPopulation pop,
const size_t  steps_per_block 
)
inline

Definition at line 59 of file VMCBatched.h.

64  : qmcdrv_input(qmci),
65  vmcdrv_input(vmci),
66  drift_modifier(drift_mod),
67  population(pop),
69  {}
const QMCDriverInput & qmcdrv_input
Definition: VMCBatched.h:49
const VMCDriverInput & vmcdrv_input
Definition: VMCBatched.h:50
const DriftModifierBase & drift_modifier
Definition: VMCBatched.h:51

Member Data Documentation

◆ drift_modifier

const DriftModifierBase& drift_modifier

Definition at line 51 of file VMCBatched.h.

Referenced by VMCBatched::advanceWalkers().

◆ global_step

IndexType global_step = -1

Definition at line 56 of file VMCBatched.h.

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

◆ is_recomputing_block

bool is_recomputing_block = false

Definition at line 57 of file VMCBatched.h.

Referenced by VMCBatched::run(), and VMCBatched::runVMCStep().

◆ population

const MCPopulation& population

Definition at line 52 of file VMCBatched.h.

Referenced by VMCBatched::advanceWalkers(), and VMCBatched::runVMCStep().

◆ qmcdrv_input

const QMCDriverInput& qmcdrv_input

Definition at line 49 of file VMCBatched.h.

Referenced by VMCBatched::advanceWalkers().

◆ recalculate_properties_period

IndexType recalculate_properties_period

Definition at line 53 of file VMCBatched.h.

Referenced by VMCBatched::run().

◆ step

IndexType step = -1

Definition at line 55 of file VMCBatched.h.

Referenced by VMCBatched::run(), and VMCBatched::runVMCStep().

◆ steps_per_block

const size_t steps_per_block

Definition at line 54 of file VMCBatched.h.

Referenced by VMCBatched::runVMCStep().

◆ vmcdrv_input

const VMCDriverInput& vmcdrv_input

Definition at line 50 of file VMCBatched.h.

Referenced by VMCBatched::advanceWalkers().


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