OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
src
ippl
src
Utility
RandomNumberGen.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
/***************************************************************************
3
*
4
* The IPPL Framework
5
*
6
***************************************************************************/
7
8
#ifndef RANDOM_NUMBER_GEN_H
9
#define RANDOM_NUMBER_GEN_H
10
11
/***********************************************************************
12
*
13
* class RandomNumberGen
14
*
15
* RandomNumberGen is actually just a typedef for one of the many
16
* RNGSequence classes available in IPPL. It is selected by examining the
17
* values of #define's. Other RNGSequence classes may be used in a program,
18
* but using RandomNumberGen give you the 'default' RNGSequence type as
19
* selected at compile time.
20
*
21
* When using Random or Distributed number sequences, include this file.
22
*
23
***********************************************************************/
24
25
#include "
Utility/RNGXDiv.h
"
26
27
typedef
RNGXDivSequence
RandomNumberGen
;
28
29
// a default RandomNumberGen object for use in the Framework. When
30
// running in parallel, the Ippl object will advance this by the
31
// node number so as to have different RNG sequences on each node. If the
32
// same RNG sequence is needed on each node, the user must instantiate their
33
// own RNG sequence object and use that.
34
extern
RandomNumberGen
IpplRandom
;
35
36
#endif
// RANDOM_NUMBER_GEN_H
RandomNumberGen
RNGXDivSequence RandomNumberGen
Definition:
RandomNumberGen.h:27
IpplRandom
RandomNumberGen IpplRandom
Definition:
RandomNumberGen.cpp:30
RNGXDiv.h
RNGXDivSequence
Definition:
RNGXDiv.h:132
Generated on Wed Aug 25 2021 16:41:00 for OPAL (Object Oriented Parallel Accelerator Library) by
1.9.1