|
Cloudy
Spectral Synthesis Code for Astrophysics
|
#include "cddefines.h"#include "vectorize.h"#include "vectorize_math.h"#include "thirdparty.h"#include "ran.h"
Classes | |
| union | pund |
| union | punf |
Functions | |
| STATIC void | init_seed (uint64 s, int nRANK, uint64 state[], size_t ns, size_t npack, algo_prng algo) |
| STATIC void | convert_double (double *pool, size_t size) |
| STATIC void | convert_float (sys_float *pool, size_t size) |
| STATIC void | convert_zig (double *pool, size_t size) |
Variables | |
| t_ran | ran (PRNG_XOSHIRO256STARSTAR) |
| static const int | ZIGC = 256 |
| static const double | ZigXN [ZIGC+1] |
| static const double | ZigRN [ZIGC] |
| static const double | ZigEX2 [ZIGC+1] |
| STATIC void convert_double | ( | double * | pool, |
| size_t | size ) |
References pund::d, DEBUG_ENTRY, pund::i, and STATIC.
Referenced by t_ran::p_dbl().
References DEBUG_ENTRY, punf::f, punf::i, and STATIC.
Referenced by t_ran::p_flt().
| STATIC void convert_zig | ( | double * | pool, |
| size_t | size ) |
References pund::d, DEBUG_ENTRY, pund::i, and STATIC.
Referenced by t_ran::p_zig().
| STATIC void init_seed | ( | uint64 | s, |
| int | nRANK, | ||
| uint64 | state[], | ||
| size_t | ns, | ||
| size_t | npack, | ||
| algo_prng | algo ) |
References ASSERT, DEBUG_ENTRY, PRNG_XOROSHIRO128PLUS, PRNG_XOSHIRO256STARSTAR, splitmix64(), STATIC, TotalInsanity(), xoroshiro128plus_jump(), and xoshiro256starstar_jump().
Referenced by t_ran::p_seed().

|
static |
|
static |
Referenced by t_ran::p_init().
|
static |
Referenced by t_ran::p_init().
|
static |
Referenced by t_ran::p_init().