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

#include <Random.h>

Public Member Functions

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

Private Attributes

std::mt19937 generator_
 

Constructor & Destructor Documentation

◆ RealRandom()

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

Member Function Documentation

◆ operator()()

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

Member Data Documentation

◆ generator_

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

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