Parallel Finite Element - General geometry Ewald-like Method
Part of Continuum-particle Simulation Suite under MICCOM
Public Member Functions | List of all members
RandomGenerator Class Reference

#include <random_generator.h>

Inheritance diagram for RandomGenerator:
Inheritance graph
[legend]
Collaboration diagram for RandomGenerator:
Collaboration graph
[legend]

Public Member Functions

 RandomGenerator ()
 
 ~RandomGenerator ()
 
std::vector< Real > random_vector_normal (const std::size_t n, const Real &mean_val, const Real &dev_val)
 
std::vector< Real > random_vector_uniform (const std::size_t n, const Real &a, const Real &b)
 
void set_seed (std::size_t seed_val)
 
std::default_random_engine & generator ()
 

Constructor & Destructor Documentation

RandomGenerator::RandomGenerator ( )
RandomGenerator::~RandomGenerator ( )

Member Function Documentation

std::default_random_engine& RandomGenerator::generator ( )
inline
std::vector< Real > RandomGenerator::random_vector_normal ( const std::size_t  n,
const Real &  mean_val,
const Real &  dev_val 
)

Here is the caller graph for this function:

std::vector< Real > RandomGenerator::random_vector_uniform ( const std::size_t  n,
const Real &  a,
const Real &  b 
)

Here is the caller graph for this function:

void RandomGenerator::set_seed ( std::size_t  seed_val)

Here is the caller graph for this function:


The documentation for this class was generated from the following files: