ggciag / mandyoc

MANDYOC is a finite element code written on top of the PETSc library to simulate thermo-chemical convection of the Earth's mantle
https://ggciag.github.io/mandyoc/
BSD 3-Clause "New" or "Revised" License
27 stars 5 forks source link

Random number generation #118

Open jamisonassuncao opened 1 year ago

jamisonassuncao commented 1 year ago

@DMSwarm_3d.cpp and @DMSwarm_2d.cpp:

rand_r(&seed_strain) > RAND_MAX