DFT-EFE
 
Loading...
Searching...
No Matches
dftefe::utils::RandNumGen< unsigned int > Class Reference

#include <RandNumGen.h>

Public Member Functions

 RandNumGen (unsigned int min, unsigned int max)
 
 ~RandNumGen ()=default
 
unsigned int generate ()
 

Private Attributes

std::mt19937 d_gen
 
std::uniform_int_distribution< unsigned int > d_dis
 

Constructor & Destructor Documentation

◆ RandNumGen()

dftefe::utils::RandNumGen< unsigned int >::RandNumGen ( unsigned int  min,
unsigned int  max 
)

◆ ~RandNumGen()

dftefe::utils::RandNumGen< unsigned int >::~RandNumGen ( )
default

Member Function Documentation

◆ generate()

unsigned int dftefe::utils::RandNumGen< unsigned int >::generate ( )

Member Data Documentation

◆ d_dis

std::uniform_int_distribution<unsigned int> dftefe::utils::RandNumGen< unsigned int >::d_dis
private

◆ d_gen

std::mt19937 dftefe::utils::RandNumGen< unsigned int >::d_gen
private

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