Astaroth  3.1
Scalable Multi-GPU Stencil Computations
Loading...
Searching...
No Matches
astaroth_random.h File Reference
#include <stdint.h>
#include <random>
#include "acreal.h"
#include "func_define.h"
Include dependency graph for astaroth_random.h:

Go to the source code of this file.

Functions

std::mt19937 & get_rng ()
AcReal random_uniform_real_01 (void)
void seed_rng (uint32_t seed)

Function Documentation

◆ get_rng()

std::mt19937 & get_rng ( )

◆ random_uniform_real_01()

AcReal random_uniform_real_01 ( void )

◆ seed_rng()

void seed_rng ( uint32_t seed)