![]() |
QMCPACK
|
Public Types | |
using | RealType = NonLocalData::RealType |
using | PosType = NonLocalData::PosType |
Public Member Functions | |
NonLocalTOperator () | |
int | thingsThatShouldBeInMyConstructor (const std::string &non_local_move_option, const double tau, const double alpha, const double gamma) |
replacement for put because wouldn't it be cool to know what the classes configuration actually is. More... | |
int | put (xmlNodePtr cur) |
initialize the parameters More... | |
const NonLocalData * | selectMove (RealType prob, const std::vector< NonLocalData > &txy) |
select the move for a given probability More... | |
const NonLocalData * | selectMove (RealType prob, int iel) |
select the move for a given probability using internal txy_by_elec_ More... | |
void | groupByElectron (size_t num_elec, const std::vector< NonLocalData > &txy) |
sort all the Txy elements by electron More... | |
Private Attributes | |
RealType | tau_ |
RealType | alpha_ |
RealType | gamma_ |
RealType | plusFactor |
factor applied on >0 weight More... | |
RealType | minusFactor |
factor applied on <=0 weight More... | |
std::vector< RealType > | txy_scan_ |
std::vector< std::vector< NonLocalData > > | txy_by_elec_ |
Definition at line 37 of file NonLocalTOperator.h.
using PosType = NonLocalData::PosType |
Definition at line 40 of file NonLocalTOperator.h.
using RealType = NonLocalData::RealType |
Definition at line 39 of file NonLocalTOperator.h.
Definition at line 24 of file NonLocalTOperator.cpp.
void groupByElectron | ( | size_t | num_elec, |
const std::vector< NonLocalData > & | txy | ||
) |
sort all the Txy elements by electron
Definition at line 124 of file NonLocalTOperator.cpp.
References NonLocalTOperator::txy_by_elec_.
Referenced by NonLocalECPotential::makeNonLocalMovesPbyP(), and qmcplusplus::TEST_CASE().
int put | ( | xmlNodePtr | cur | ) |
initialize the parameters
process options related to TMoves
Definition at line 30 of file NonLocalTOperator.cpp.
References ParameterSet::add(), NonLocalTOperator::alpha_, qmcplusplus::app_log(), NonLocalTOperator::gamma_, NonLocalTOperator::minusFactor, NonLocalTOperator::plusFactor, ParameterSet::put(), NonLocalTOperator::tau_, qmcplusplus::TMOVE_OFF, qmcplusplus::TMOVE_V0, qmcplusplus::TMOVE_V1, and qmcplusplus::TMOVE_V3.
Referenced by NonLocalECPotential::setNonLocalMoves().
const NonLocalData * selectMove | ( | RealType | prob, |
const std::vector< NonLocalData > & | txy | ||
) |
select the move for a given probability
prob | value [0,1) |
txy | a given Txy collection |
Definition at line 101 of file NonLocalTOperator.cpp.
References NonLocalTOperator::minusFactor, NonLocalTOperator::plusFactor, and NonLocalTOperator::txy_scan_.
Referenced by NonLocalECPotential::makeNonLocalMovesPbyP(), and qmcplusplus::TEST_CASE().
|
inline |
select the move for a given probability using internal txy_by_elec_
prob | value [0,1) |
iel | reference electron |
Definition at line 66 of file NonLocalTOperator.h.
References NonLocalTOperator::selectMove(), and NonLocalTOperator::txy_by_elec_.
Referenced by NonLocalTOperator::selectMove().
int thingsThatShouldBeInMyConstructor | ( | const std::string & | non_local_move_option, |
const double | tau, | ||
const double | alpha, | ||
const double | gamma | ||
) |
replacement for put because wouldn't it be cool to know what the classes configuration actually is.
Definition at line 76 of file NonLocalTOperator.cpp.
References NonLocalTOperator::alpha_, NonLocalTOperator::gamma_, NonLocalTOperator::minusFactor, NonLocalTOperator::plusFactor, NonLocalTOperator::tau_, qmcplusplus::TMOVE_OFF, qmcplusplus::TMOVE_V0, qmcplusplus::TMOVE_V1, and qmcplusplus::TMOVE_V3.
Referenced by NonLocalECPotential::setNonLocalMoves(), and qmcplusplus::TEST_CASE().
|
private |
Definition at line 73 of file NonLocalTOperator.h.
Referenced by NonLocalTOperator::put(), and NonLocalTOperator::thingsThatShouldBeInMyConstructor().
|
private |
Definition at line 74 of file NonLocalTOperator.h.
Referenced by NonLocalTOperator::put(), and NonLocalTOperator::thingsThatShouldBeInMyConstructor().
|
private |
factor applied on <=0 weight
Definition at line 78 of file NonLocalTOperator.h.
Referenced by NonLocalTOperator::put(), NonLocalTOperator::selectMove(), and NonLocalTOperator::thingsThatShouldBeInMyConstructor().
|
private |
factor applied on >0 weight
Definition at line 76 of file NonLocalTOperator.h.
Referenced by NonLocalTOperator::put(), NonLocalTOperator::selectMove(), and NonLocalTOperator::thingsThatShouldBeInMyConstructor().
|
private |
Definition at line 72 of file NonLocalTOperator.h.
Referenced by NonLocalTOperator::put(), and NonLocalTOperator::thingsThatShouldBeInMyConstructor().
|
private |
Definition at line 82 of file NonLocalTOperator.h.
Referenced by NonLocalTOperator::groupByElectron(), and NonLocalTOperator::selectMove().
|
private |
Definition at line 80 of file NonLocalTOperator.h.
Referenced by NonLocalTOperator::selectMove().