source: trunk/anuga_core/anuga/pymetis/random.c @ 9679

Last change on this file since 9679 was 9530, checked in by steve, 10 years ago

Adding in upper level pymetis module

File size: 122 bytes
Line 
1#include <stdlib.h>
2
3double drand48(){
4  return (((double)rand())/RAND_MAX);
5}
6
7void srand48(long seed){
8  srand(seed);
9}
Note: See TracBrowser for help on using the repository browser.