|
votca 2026-dev
|
#include <latticemodel.h>
Public Member Functions | |
| NormalGenerator (std::uint64_t seed) | |
| double | operator() () |
Private Member Functions | |
| double | Uniform () |
Private Attributes | |
| std::mt19937_64 | engine_ |
| bool | has_spare_ = false |
| double | spare_ = 0.0 |
Deterministic standard normal numbers (Box-Muller on mt19937_64). std::normal_distribution differs between standard libraries, this does not, so a seed gives the same lattice on every platform.
Definition at line 101 of file latticemodel.h.
|
inlineexplicit |
Definition at line 103 of file latticemodel.h.
| double votca::xtp::LatticeModel::NormalGenerator::operator() | ( | ) |
Definition at line 43 of file latticemodel.cc.
|
private |
Definition at line 38 of file latticemodel.cc.
|
private |
Definition at line 108 of file latticemodel.h.
|
private |
Definition at line 109 of file latticemodel.h.
|
private |
Definition at line 110 of file latticemodel.h.