|
votca 2026-dev
|
Thinning (Lewis-Shedler) for any rates with time-independent upper bounds B_e >= w_e(t): candidate events at the constant rate sum_e B_e, destination proposed with probability B_e / sum B, accepted with probability w_e(t)/B_e. Exact for every time dependence; the cost grows with the ratio bound / mean rate. More...
#include <kmcwaitingtime.h>


Public Member Functions | |
| std::string | Name () const override |
| void | Prepare (const TimeDependentRates &rates) override |
| double | NextTime (Index site, double t, KMCRandom &random) const override |
| Index | ChooseHop (Index site, double t, KMCRandom &random) const override |
| Public Member Functions inherited from votca::xtp::WaitingTimeStrategy | |
| virtual | ~WaitingTimeStrategy ()=default |
Private Attributes | |
| const TimeDependentRates * | rates_ = nullptr |
| std::vector< double > | bound_escape_ |
| std::vector< double > | cumulative_ |
Thinning (Lewis-Shedler) for any rates with time-independent upper bounds B_e >= w_e(t): candidate events at the constant rate sum_e B_e, destination proposed with probability B_e / sum B, accepted with probability w_e(t)/B_e. Exact for every time dependence; the cost grows with the ratio bound / mean rate.
Definition at line 102 of file kmcwaitingtime.h.
|
overridevirtual |
Implements votca::xtp::WaitingTimeStrategy.
Definition at line 120 of file kmcwaitingtime.cc.
|
inlineoverridevirtual |
Implements votca::xtp::WaitingTimeStrategy.
Definition at line 104 of file kmcwaitingtime.h.
|
overridevirtual |
Implements votca::xtp::WaitingTimeStrategy.
Definition at line 114 of file kmcwaitingtime.cc.
|
overridevirtual |
Implements votca::xtp::WaitingTimeStrategy.
Definition at line 101 of file kmcwaitingtime.cc.
|
private |
Definition at line 111 of file kmcwaitingtime.h.
|
private |
Definition at line 112 of file kmcwaitingtime.h.
|
private |
Definition at line 110 of file kmcwaitingtime.h.