|
ORB5X 1.0.0
Performance-portable global electromagnetic gyrokinetic PIC code
|
#include "random_generator.hpp"
Static Public Member Functions | |
| static void | decimal_to_seed (const std::string &decimal, std::array< int, SEED_SIZE > &seed) |
| static void | next_seed (int n0, std::array< int, SEED_SIZE > &seed) |
| static void | next_seed3 (int n0, int n1, int n2, std::array< int, SEED_SIZE > &seed) |
| static void | random_array (std::vector< Real > &y, int n, int &p, std::vector< Real > &r) |
| static void | random_gauss (std::vector< Real > &y, int n, int &p, std::vector< Real > &r) |
| static void | random_init (const std::array< int, SEED_SIZE > &seed, int &p, std::vector< Real > &r) |
| static void | random_orb (int &p, std::vector< Real > &r, Real &random2) |
| static void | seed_to_decimal (const std::array< int, SEED_SIZE > &seed, std::string &decimal) |
Static Public Attributes | |
| static constexpr int | B = 16384 |
| static constexpr Real | DEL = 1.0 / (1ULL << 14) |
| static constexpr Real | MULT = 1.0 * (1ULL << 23) |
| static constexpr int | RAN_K = 100 |
| static constexpr int | SEED_SIZE = 8 |
| static constexpr Real | ULP = 1.0 / (1ULL << 47) |
| static constexpr Real | ULP2 = 1.0 / (1ULL << 48) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |