MOOSE - Multiscale Object Oriented Simulation Environment
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Definitions.h
Go to the documentation of this file.
1 /***
2  * Filename: Definitions.h
3  *
4  * Description: Various definitions.
5  *
6  * Version: 0.0.1
7  * Created: 2018-08-04
8 
9  * Revision: none
10  *
11  * Author: Dilawar Singh <dilawars@ncbs.res.in>
12  * Organization: NCBS Bangalore
13  *
14  * License: GNU GPL3
15  */
16 
17 #ifndef DEFINITIONS_H
18 #define DEFINITIONS_H
19 
20 #include <random>
21 
22 namespace moose {
23 
24 /* --------------------------------------------------------------------------*/
28 /* ----------------------------------------------------------------------------*/
29 typedef std::random_device MOOSE_RANDOM_DEVICE;
30 
31 /* --------------------------------------------------------------------------*/
36 /* ----------------------------------------------------------------------------*/
37 typedef std::mersenne_twister_engine< std::uint_fast32_t, 32, 624, 397, 31
38  , 0x9908b0df, 11
39  , 0xffffffff, 7
40  , 0x9d2c5680, 15
41  , 0xefc60000, 18, 1812433253
43 
44 }
45 
46 #endif /* end of include guard: DEFINITIONS_H */
std::mersenne_twister_engine< std::uint_fast32_t, 32, 624, 397, 31, 0x9908b0df, 11, 0xffffffff, 7, 0x9d2c5680, 15, 0xefc60000, 18, 1812433253 > MOOSE_RNG_DEFAULT_ENGINE
Definition: Definitions.h:42
std::random_device MOOSE_RANDOM_DEVICE
Definition: Definitions.h:29