|
Grid 0.7.0
|
#include <random>Go to the source code of this file.
Data Structures | |
| class | GridRNGbase |
| class | GridSerialRNG |
| class | GridParallelRNG |
Functions | |
| NAMESPACE_BEGIN (Grid) | |
| int | RNGfillable (GridBase *coarse, GridBase *fine) |
| int | RNGfillable_general (GridBase *coarse, GridBase *fine) |
| template<class scalar, class distribution, class generator> | |
| void | fillScalar (scalar &s, distribution &dist, generator &gen) |
| template<class distribution, class generator> | |
| void | fillScalar (ComplexF &s, distribution &dist, generator &gen) |
| template<class distribution, class generator> | |
| void | fillScalar (ComplexD &s, distribution &dist, generator &gen) |
| template<class vobj> | |
| void | random (GridParallelRNG &rng, Lattice< vobj > &l) |
| template<class vobj> | |
| void | gaussian (GridParallelRNG &rng, Lattice< vobj > &l) |
| template<class vobj> | |
| void | bernoulli (GridParallelRNG &rng, Lattice< vobj > &l) |
| template<class sobj> | |
| void | random (GridSerialRNG &rng, sobj &l) |
| template<class sobj> | |
| void | gaussian (GridSerialRNG &rng, sobj &l) |
| template<class sobj> | |
| void | bernoulli (GridSerialRNG &rng, sobj &l) |
| NAMESPACE_END (Grid) | |
| NAMESPACE_BEGIN | ( | Grid | ) |
Definition at line 49 of file Lattice_rng.h.
References CartesianCommunicator::_ndimension, CartesianCommunicator::_processors, GridBase::_rdimensions, and GridBase::_simd_layout.
Definition at line 81 of file Lattice_rng.h.
References CartesianCommunicator::_ndimension, CartesianCommunicator::_processors, GridBase::lSites(), and GridBase::Nsimd().
Referenced by GridParallelRNG::fill().
| void fillScalar | ( | scalar & | s, |
| distribution & | dist, | ||
| generator & | gen ) |
Definition at line 104 of file Lattice_rng.h.
References generator().
Referenced by GridParallelRNG::fill(), GridSerialRNG::fill(), GridSerialRNG::fill(), GridSerialRNG::fill(), GridSerialRNG::fill(), GridSerialRNG::fill(), GridSerialRNG::fill(), GridSerialRNG::fill(), GridSerialRNG::fill(), and GridSerialRNG::fill().
| void fillScalar | ( | ComplexF & | s, |
| distribution & | dist, | ||
| generator & | gen ) |
Definition at line 109 of file Lattice_rng.h.
References generator().
| void fillScalar | ( | ComplexD & | s, |
| distribution & | dist, | ||
| generator & | gen ) |
Definition at line 116 of file Lattice_rng.h.
References generator().
|
inline |
Definition at line 532 of file Lattice_rng.h.
References GridRNGbase::_uniform, and GridParallelRNG::fill().
Referenced by HybridMonteCarlo< IntegratorType >::evolve_hmc_step(), HybridMonteCarlo< IntegratorType >::metropolis_test(), LatticeMatrix< ncolour, group_name >::su2SubGroupIndex(), and SubGroupHeatBath().
|
inline |
Definition at line 533 of file Lattice_rng.h.
References GridRNGbase::_gaussian, and GridParallelRNG::fill().
Referenced by Aggregation< Fobj, CComplex, nbasis >::CreateSubspace(), Aggregation< Fobj, CComplex, nbasis >::CreateSubspaceChebyshev(), Aggregation< Fobj, CComplex, nbasis >::CreateSubspaceChebyshev(), Aggregation< Fobj, CComplex, nbasis >::CreateSubspaceChebyshevNew(), Aggregation< Fobj, CComplex, nbasis >::CreateSubspaceChebyshevPowerLaw(), Aggregation< Fobj, CComplex, nbasis >::CreateSubspaceGCR(), Aggregation< Fobj, CComplex, nbasis >::CreateSubspaceMultishift(), Aggregation< Fobj, CComplex, nbasis >::CreateSubspacePolyCheby(), Aggregation< Fobj, CComplex, nbasis >::CreateSubspaceRandom(), LatticeMatrix< ncolour, group_name >::GaussianFundamentalLieAlgebraMatrix(), ScalarImplTypes< vReal >::generate_momenta(), LatticeMatrix< ncolour, group_name >::HotConfiguration(), ScalarImplTypes< vReal >::HotConfiguration(), DomainDecomposedBoundaryTwoFlavourBosonPseudoFermion< ImplD, ImplF >::refresh(), DomainDecomposedBoundaryTwoFlavourPseudoFermion< ImplD, ImplF >::refresh(), DomainDecomposedBoundaryTwoFlavourRatioPseudoFermion< ImplD, ImplF >::refresh(), ExactOneFlavourRatioPseudoFermionAction< Impl >::refresh(), GeneralEvenOddRatioRationalPseudoFermionAction< Impl >::refresh(), OneFlavourEvenOddRationalPseudoFermionAction< Impl >::refresh(), OneFlavourRationalPseudoFermionAction< Impl >::refresh(), OneFlavourRatioRationalPseudoFermionAction< Impl >::refresh(), TwoFlavourEvenOddPseudoFermionAction< Impl >::refresh(), TwoFlavourEvenOddRatioPseudoFermionAction< Impl >::refresh(), TwoFlavourPseudoFermionAction< Impl >::refresh(), TwoFlavourRatioEO4DPseudoFermionAction< Impl >::refresh(), TwoFlavourRatioPseudoFermionAction< Impl >::refresh(), Photon< GImpl >::StochasticField(), and ScalarImplTypes< vReal >::TepidConfiguration().
|
inline |
Definition at line 534 of file Lattice_rng.h.
References GridRNGbase::_bernoulli, and GridParallelRNG::fill().
|
inline |
Definition at line 536 of file Lattice_rng.h.
References GridRNGbase::_uniform, and GridSerialRNG::fill().
|
inline |
Definition at line 537 of file Lattice_rng.h.
References GridRNGbase::_gaussian, and GridSerialRNG::fill().
|
inline |
Definition at line 538 of file Lattice_rng.h.
References GridRNGbase::_bernoulli, and GridSerialRNG::fill().
| NAMESPACE_END | ( | Grid | ) |