diff options
author | Jaron <jaron@kent-dobias.com> | 2017-06-22 22:40:47 -0400 |
---|---|---|
committer | Jaron <jaron@kent-dobias.com> | 2017-06-22 22:40:47 -0400 |
commit | d59fc339a40a47405bfef8c1313e324adca70479 (patch) | |
tree | addf46044c3a1507bd4069797c6218c457b67e5f /src/graph_genfunc.c | |
parent | f4a50f1332ff323c42aa9664292910fd78933c15 (diff) | |
parent | 4764d5d407347d4dd5990411b243b3ec4bd75bff (diff) | |
download | fuse_networks-d59fc339a40a47405bfef8c1313e324adca70479.tar.gz fuse_networks-d59fc339a40a47405bfef8c1313e324adca70479.tar.bz2 fuse_networks-d59fc339a40a47405bfef8c1313e324adca70479.zip |
lots of changes for merge
Diffstat (limited to 'src/graph_genfunc.c')
-rw-r--r-- | src/graph_genfunc.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/graph_genfunc.c b/src/graph_genfunc.c deleted file mode 100644 index d396206..0000000 --- a/src/graph_genfunc.c +++ /dev/null @@ -1,19 +0,0 @@ - -#include "fracture.h" - -double *genfunc_uniform(uint_t num, gsl_rng *r) { - double *lattice = (double *)malloc(2 * num * sizeof(double)); - - for (uint_t i = 0; i < 2 * num; i++) { - lattice[i] = gsl_rng_uniform(r); - } - - return lattice; -} - -double *genfunc_hyperuniform(uint_t num, gsl_rng *r) { - double *lattice = spheres(num, 0.8, 0.5, 0.9, 100, 100000); - - return lattice; -} - |