NEURON
MCellRan4RNG.cpp
Go to the documentation of this file.
1 #include "MCellRan4RNG.hpp"
2 
3 MCellRan4::MCellRan4(std::uint32_t ihigh, std::uint32_t ilow) {
4  ++cnt_;
5  ilow_ = ilow;
6  ihigh_ = ihigh;
7  if (ihigh_ == 0) {
8  ihigh_ = cnt_;
9  ihigh_ = (std::uint32_t) asLong();
10  }
11  orig_ = ihigh_;
12 }
14 
15 std::uint32_t MCellRan4::cnt_ = 0;
std::uint32_t orig_
std::uint32_t ilow_
std::uint32_t ihigh_
MCellRan4(std::uint32_t ihigh=0, std::uint32_t ilow=0)
Definition: MCellRan4RNG.cpp:3
virtual std::uint32_t asLong()
virtual ~MCellRan4()
static std::uint32_t cnt_