Gromacs  2022.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes
uniformintdistribution.h File Reference
#include <limits>
#include <memory>
#include "gromacs/math/functions.h"
#include "gromacs/utility/basedefinitions.h"
#include "gromacs/utility/classhelpers.h"
#include "gromacs/utility/gmxassert.h"
+ Include dependency graph for uniformintdistribution.h:
+ This graph shows which files directly or indirectly include this file:

Description

The uniform integer distribution.

Portable version of the uniform integer that generates the same sequence on all platforms. Since stdlibc++ and libc++ provide different sequences we prefer this one so unit tests produce the same values on all platforms.

Author
Erik Lindahl erik..nosp@m.lind.nosp@m.ahl@g.nosp@m.mail.nosp@m..com

Classes

class  gmx::UniformIntDistribution< IntType >
 Uniform integer distribution. More...
 
class  gmx::UniformIntDistribution< IntType >::param_type
 Uniform int distribution parameters. More...