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

#include <RandNumGen.h>

Public Member Functions

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

Private Attributes

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

Constructor & Destructor Documentation

◆ RandNumGen()

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

◆ ~RandNumGen()

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

Member Function Documentation

◆ generate()

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

Member Data Documentation

◆ d_dis

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

◆ d_gen

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

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