Geant4-11
|
#include <G4UniformRandPool.hh>
Public Member Functions | |
G4UniformRandPool () | |
G4UniformRandPool (G4int ps) | |
void | GetMany (G4double *rnds, G4int howMany) |
G4double | GetOne () |
G4int | GetPoolSize () const |
void | Resize (G4int newSize) |
~G4UniformRandPool () | |
Static Public Member Functions | |
static G4double | flat () |
static void | flatArray (G4int howmany, G4double *rnds) |
Private Member Functions | |
void | Fill (G4int howmany) |
Private Attributes | |
G4double * | buffer |
G4int | currentIdx |
G4int | size |
Definition at line 55 of file G4UniformRandPool.hh.
G4UniformRandPool::G4UniformRandPool | ( | ) |
Definition at line 76 of file G4UniformRandPool.cc.
References buffer, create_pool(), create_pool_align(), Fill(), and size.
Referenced by flat(), and flatArray().
G4UniformRandPool::G4UniformRandPool | ( | G4int | ps | ) |
Definition at line 92 of file G4UniformRandPool.cc.
References buffer, create_pool(), create_pool_align(), Fill(), and size.
G4UniformRandPool::~G4UniformRandPool | ( | ) |
Definition at line 108 of file G4UniformRandPool.cc.
References buffer, destroy_pool(), and destroy_pool_align().
|
private |
Definition at line 132 of file G4UniformRandPool.cc.
References buffer, currentIdx, and size.
Referenced by G4UniformRandPool(), GetMany(), and GetOne().
|
static |
Definition at line 214 of file G4UniformRandPool.cc.
References G4UniformRandPool(), GetOne(), G4AutoDelete::Register(), and anonymous_namespace{G4UniformRandPool.cc}::rndpool.
Definition at line 224 of file G4UniformRandPool.cc.
References G4UniformRandPool(), GetMany(), G4AutoDelete::Register(), and anonymous_namespace{G4UniformRandPool.cc}::rndpool.
Definition at line 142 of file G4UniformRandPool.cc.
References buffer, currentIdx, geant4_check_module_cycles::cycle, Fill(), and size.
Referenced by flatArray().
|
inline |
Definition at line 82 of file G4UniformRandPool.hh.
References buffer, currentIdx, Fill(), and size.
Referenced by flat().
|
inline |
void G4UniformRandPool::Resize | ( | G4int | newSize | ) |
Definition at line 120 of file G4UniformRandPool.cc.
References buffer, create_pool(), currentIdx, destroy_pool(), and size.
|
private |
Definition at line 78 of file G4UniformRandPool.hh.
Referenced by Fill(), G4UniformRandPool(), GetMany(), GetOne(), Resize(), and ~G4UniformRandPool().
|
private |
|
private |
Definition at line 77 of file G4UniformRandPool.hh.
Referenced by Fill(), G4UniformRandPool(), GetMany(), GetOne(), GetPoolSize(), and Resize().