![]() |
QMCPACK
|
Input representation for DMC driver class runtime parameters. More...
Collaboration diagram for DMCDriverInput:Public Types | |
| using | IndexType = QMCTraits::IndexType |
| using | RealType = QMCTraits::RealType |
| using | FullPrecisionRealType = QMCTraits::FullPrecRealType |
Public Member Functions | |
| DMCDriverInput () | |
| DMCDriverInput (int walkers_per_rank) | |
| void | readXML (xmlNodePtr xml_input) |
| bool | get_reconfiguration () const |
| IndexType | get_max_age () const |
| IndexType | get_branch_interval () const |
| double | get_feedback () const |
| DMCRefEnergyScheme | get_refenergy_update_scheme () const |
| const std::string & | get_non_local_move () const |
| double | get_alpha () const |
| double | get_gamma () const |
| RealType | get_reserve () const |
Private Attributes | |
| IndexType | branch_interval_ = 1 |
Do not write out blocks of gets for variables like this there is are code_generation tools in QMCPACK_ROOT/utils/code_tools More... | |
| double | feedback_ = 1.0 |
| feed back parameter for population control More... | |
| DMCRefEnergyScheme | refenergy_update_scheme_ |
| input std::string to determine reference energy update scheme More... | |
| std::string | KillWalker |
| input std::string to determine kill walkers or not More... | |
| std::string | SwapWalkers |
| input std::string to determine swap walkers among mpi processors More... | |
| bool | reconfiguration_ = true |
| reconfiguration flag More... | |
| std::string | NonLocalMove |
| input std::string to determine to use nonlocal move More... | |
| IndexType | max_age_ = 10 |
| input to control maximum age allowed for walkers. More... | |
| RealType | reserve_ = 1.0 |
| reserved walkers for population growth More... | |
| double | alpha_ = 0.0 |
| double | gamma_ = 0.0 |
Friends | |
| std::ostream & | operator<< (std::ostream &o_stream, const DMCDriverInput &vmci) |
Input representation for DMC driver class runtime parameters.
Definition at line 23 of file DMCDriverInput.h.
Definition at line 28 of file DMCDriverInput.h.
| using IndexType = QMCTraits::IndexType |
Definition at line 26 of file DMCDriverInput.h.
| using RealType = QMCTraits::RealType |
Definition at line 27 of file DMCDriverInput.h.
|
inline |
Definition at line 29 of file DMCDriverInput.h.
| DMCDriverInput | ( | int | walkers_per_rank | ) |
Definition at line 16 of file DMCDriverInput.cpp.
|
inline |
Definition at line 39 of file DMCDriverInput.h.
References DMCDriverInput::alpha_.
Referenced by DMCBatched::setNonLocalMoveHandler().
|
inline |
Definition at line 35 of file DMCDriverInput.h.
References DMCDriverInput::branch_interval_.
Referenced by DMCBatched::process().
|
inline |
Definition at line 36 of file DMCDriverInput.h.
References DMCDriverInput::feedback_.
Referenced by DMCBatched::process().
|
inline |
Definition at line 40 of file DMCDriverInput.h.
References DMCDriverInput::gamma_.
Referenced by DMCBatched::setNonLocalMoveHandler().
|
inline |
Definition at line 34 of file DMCDriverInput.h.
References DMCDriverInput::max_age_.
Referenced by DMCBatched::process().
|
inline |
Definition at line 38 of file DMCDriverInput.h.
References DMCDriverInput::NonLocalMove.
Referenced by DMCBatched::setNonLocalMoveHandler().
|
inline |
Definition at line 33 of file DMCDriverInput.h.
References DMCDriverInput::reconfiguration_.
Referenced by DMCBatched::process(), and DMCBatched::run().
|
inline |
Definition at line 37 of file DMCDriverInput.h.
References DMCDriverInput::refenergy_update_scheme_.
Referenced by DMCBatched::process().
|
inline |
Definition at line 41 of file DMCDriverInput.h.
References DMCDriverInput::reserve_.
Referenced by DMCBatched::process().
| void readXML | ( | xmlNodePtr | xml_input | ) |
Definition at line 18 of file DMCDriverInput.cpp.
References ParameterSet::add(), DMCDriverInput::alpha_, qmcplusplus::app_summary(), DMCDriverInput::branch_interval_, DMCDriverInput::feedback_, DMCDriverInput::gamma_, qmcplusplus::LIMITED_HISTORY, DMCDriverInput::max_age_, qmcplusplus::node, DMCDriverInput::NonLocalMove, ParameterSet::put(), DMCDriverInput::reconfiguration_, DMCDriverInput::refenergy_update_scheme_, DMCDriverInput::reserve_, and qmcplusplus::UNLIMITED_HISTORY.
Referenced by DMCFactoryNew::create(), and SetupDMCTest::operator()().
|
friend |
Definition at line 77 of file DMCDriverInput.cpp.
|
private |
Definition at line 68 of file DMCDriverInput.h.
Referenced by DMCDriverInput::get_alpha(), and DMCDriverInput::readXML().
|
private |
Do not write out blocks of gets for variables like this there is are code_generation tools in QMCPACK_ROOT/utils/code_tools
Interval between branching
Definition at line 51 of file DMCDriverInput.h.
Referenced by DMCDriverInput::get_branch_interval(), and DMCDriverInput::readXML().
|
private |
feed back parameter for population control
Definition at line 53 of file DMCDriverInput.h.
Referenced by DMCDriverInput::get_feedback(), and DMCDriverInput::readXML().
|
private |
Definition at line 69 of file DMCDriverInput.h.
Referenced by DMCDriverInput::get_gamma(), and DMCDriverInput::readXML().
|
private |
input std::string to determine kill walkers or not
Definition at line 57 of file DMCDriverInput.h.
|
private |
input to control maximum age allowed for walkers.
Definition at line 65 of file DMCDriverInput.h.
Referenced by DMCDriverInput::get_max_age(), and DMCDriverInput::readXML().
|
private |
input std::string to determine to use nonlocal move
Definition at line 63 of file DMCDriverInput.h.
Referenced by DMCDriverInput::get_non_local_move(), and DMCDriverInput::readXML().
|
private |
reconfiguration flag
Definition at line 61 of file DMCDriverInput.h.
Referenced by DMCDriverInput::get_reconfiguration(), and DMCDriverInput::readXML().
|
private |
input std::string to determine reference energy update scheme
Definition at line 55 of file DMCDriverInput.h.
Referenced by DMCDriverInput::get_refenergy_update_scheme(), and DMCDriverInput::readXML().
|
private |
reserved walkers for population growth
Definition at line 67 of file DMCDriverInput.h.
Referenced by DMCDriverInput::get_reserve(), and DMCDriverInput::readXML().
|
private |
input std::string to determine swap walkers among mpi processors
Definition at line 59 of file DMCDriverInput.h.