![]() |
QMCPACK
|
Thread local context for moving walkers. More...
Public Types | |
using | FullPrecRealType = QMCTraits::FullPrecRealType |
Public Member Functions | |
ContextForSteps (RandomBase< FullPrecRealType > &random_gen) | |
RandomBase< FullPrecRealType > & | get_random_gen () |
Protected Attributes | |
RandomBase< FullPrecRealType > & | random_gen_ |
Thread local context for moving walkers.
created once per driver per crowd It's two significant responsibilities are holding the thread local RandomGen_t And the particle group indexes.
Definition at line 33 of file ContextForSteps.h.
Definition at line 36 of file ContextForSteps.h.
ContextForSteps | ( | RandomBase< FullPrecRealType > & | random_gen | ) |
Definition at line 17 of file ContextForSteps.cpp.
RandomBase< ContextForSteps::FullPrecRealType > & get_random_gen | ( | ) |
Definition at line 19 of file ContextForSteps.cpp.
References ContextForSteps::random_gen_.
Referenced by VMCBatched::advanceWalkers(), and DMCBatched::advanceWalkers().
|
protected |
Definition at line 40 of file ContextForSteps.h.
Referenced by ContextForSteps::get_random_gen().