walberla::math::RealRandom< REAL > Class Template Reference

#include <Random.h>

Public Member Functions

 RealRandom (const std::mt19937::result_type &seed=std::mt19937::result_type())
 
REAL operator() (const REAL min=REAL(0), const REAL max=REAL(1))
 

Private Attributes

std::mt19937 generator_
 

Constructor & Destructor Documentation

template<typename REAL >
walberla::math::RealRandom< REAL >::RealRandom ( const std::mt19937::result_type &  seed = std::mt19937::result_type())
inline

Member Function Documentation

template<typename REAL >
REAL walberla::math::RealRandom< REAL >::operator() ( const REAL  min = REAL(0),
const REAL  max = REAL(1) 
)
inline

Member Data Documentation

template<typename REAL >
std::mt19937 walberla::math::RealRandom< REAL >::generator_
private

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