|
My Project
programmer's documentation
|
Go to the documentation of this file. 1 #ifndef __CS_RANDOM_H__
2 #define __CS_RANDOM_H__
double precision, save a
Definition: cs_fuel_incl.f90:146
#define END_C_DECLS
Definition: cs_defs.h:468
double cs_real_t
Floating-point value.
Definition: cs_defs.h:302
#define BEGIN_C_DECLS
Definition: cs_defs.h:467
void cs_random_uniform(cs_lnum_t n, cs_real_t a[])
Uniform distribution random number generator.
Definition: cs_random.c:242
void cs_random_normal(cs_lnum_t n, cs_real_t x[])
Normal distribution random number generator.
Definition: cs_random.c:407
void cs_random_restore(cs_real_t save_block[1634])
Restore static variables used by random number generator.
Definition: cs_random.c:569
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:298
void cs_random_seed(int seed)
Initialize random number generator.
Definition: cs_random.c:192
void cs_random_save(cs_real_t save_block[1634])
Save static variables used by random number generator.
Definition: cs_random.c:537
void cs_random_poisson(cs_lnum_t n, cs_real_t mu, int p[])
Poisson distribution random number generator.
Definition: cs_random.c:463
Definition: cs_field_pointer.h:109
Definition: cs_field_pointer.h:67