NEURON
NrnRandom123RNG.cpp
Go to the documentation of this file.
1 #include "NrnRandom123RNG.hpp"
2 
3 NrnRandom123::NrnRandom123(std::uint32_t id1, std::uint32_t id2, std::uint32_t id3) {
4  s_ = nrnran123_newstream3(id1, id2, id3);
5 }
6 
9 }
nrnran123_State * s_
NrnRandom123(std::uint32_t id1, std::uint32_t id2, std::uint32_t id3=0)
nrnran123_State * nrnran123_newstream3(uint32_t id1, uint32_t id2, uint32_t id3, bool use_unified_memory)
Allocate a new Random123 stream.
Definition: nrnran123.cpp:172
void nrnran123_deletestream(nrnran123_State *s, bool use_unified_memory)
Definition: nrnran123.cpp:205