NEURON
MCellRan4 Class Reference

#include <MCellRan4RNG.hpp>

Inheritance diagram for MCellRan4:
RNG

Public Member Functions

 MCellRan4 (std::uint32_t ihigh=0, std::uint32_t ilow=0)
 
virtual ~MCellRan4 ()
 
virtual std::uint32_t asLong ()
 
virtual void reset ()
 
virtual double asDouble ()
 
- Public Member Functions inherited from RNG
 RNG ()=default
 
virtual ~RNG ()=default
 
result_type operator() ()
 

Public Attributes

std::uint32_t ihigh_
 
std::uint32_t orig_
 
std::uint32_t ilow_
 

Static Private Attributes

static std::uint32_t cnt_ = 0
 

Additional Inherited Members

- Public Types inherited from RNG
using result_type = std::uint32_t
 
- Static Public Member Functions inherited from RNG
static constexpr result_type min ()
 
static constexpr result_type max ()
 

Detailed Description

Definition at line 15 of file MCellRan4RNG.hpp.

Constructor & Destructor Documentation

◆ MCellRan4()

MCellRan4::MCellRan4 ( std::uint32_t  ihigh = 0,
std::uint32_t  ilow = 0 
)

Definition at line 3 of file MCellRan4RNG.cpp.

◆ ~MCellRan4()

MCellRan4::~MCellRan4 ( )
virtual

Definition at line 13 of file MCellRan4RNG.cpp.

Member Function Documentation

◆ asDouble()

virtual double MCellRan4::asDouble ( )
inlinevirtual

Implements RNG.

Definition at line 25 of file MCellRan4RNG.hpp.

◆ asLong()

virtual std::uint32_t MCellRan4::asLong ( )
inlinevirtual

Implements RNG.

Definition at line 19 of file MCellRan4RNG.hpp.

◆ reset()

virtual void MCellRan4::reset ( )
inlinevirtual

Implements RNG.

Definition at line 22 of file MCellRan4RNG.hpp.

Member Data Documentation

◆ cnt_

std::uint32_t MCellRan4::cnt_ = 0
staticprivate

Definition at line 33 of file MCellRan4RNG.hpp.

◆ ihigh_

std::uint32_t MCellRan4::ihigh_

Definition at line 28 of file MCellRan4RNG.hpp.

◆ ilow_

std::uint32_t MCellRan4::ilow_

Definition at line 30 of file MCellRan4RNG.hpp.

◆ orig_

std::uint32_t MCellRan4::orig_

Definition at line 29 of file MCellRan4RNG.hpp.


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