27 #include "libmesh/reference_counted_object.h" 28 #include "libmesh/parallel_object.h" 39 using libMesh::ParallelObject;
40 using libMesh::ReferenceCountedObject;
83 std::default_random_engine&
generator() {
return _generator; }
91 std::default_random_engine _generator;
Definition: random_generator.h:43
RandomGenerator()
Definition: random_generator.C:31
std::vector< Real > random_vector_uniform(const std::size_t n, const Real &a, const Real &b)
Definition: random_generator.C:74
~RandomGenerator()
Definition: random_generator.C:38
std::vector< Real > random_vector_normal(const std::size_t n, const Real &mean_val, const Real &dev_val)
Definition: random_generator.C:46
std::default_random_engine & generator()
Definition: random_generator.h:83
void set_seed(std::size_t seed_val)
Definition: random_generator.C:101