summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpants <jaron@kent-dobias.com>2016-09-06 15:18:18 -0400
committerpants <jaron@kent-dobias.com>2016-09-06 15:18:18 -0400
commit805794c6e8b7c16e6219f75076fcbc76221d551d (patch)
treee86cc4e76f295391423b6c05e1ad52feb502829b /src
parent1543171d79610288be61183d73116a5057749ebd (diff)
downloadfuse_networks-805794c6e8b7c16e6219f75076fcbc76221d551d.tar.gz
fuse_networks-805794c6e8b7c16e6219f75076fcbc76221d551d.tar.bz2
fuse_networks-805794c6e8b7c16e6219f75076fcbc76221d551d.zip
added some comments
Diffstat (limited to 'src')
-rw-r--r--src/fracture.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/fracture.h b/src/fracture.h
index 349e59e..a9973ea 100644
--- a/src/fracture.h
+++ b/src/fracture.h
@@ -37,14 +37,17 @@ typedef enum bound_t {
} bound_t;
typedef struct {
- uint_t ne;
- uint_t nv;
- uint_t dnv;
+ uint_t ne; // number of edges
+ uint_t nv; // number of vertices
+ uint_t dnv; // number of dual vertices
uint_t nv_break;
uint_t num_bounds;
- uint_t *ev;
+ // 2*ne length array. edge i connects vertices ev[2*i], ev[2*i+1] < nv
+ uint_t *ev;
uint_t *ev_break;
+ // nv+1 length array. vertex i has degree vei[i+1]-vei[i], vei[0] = 0
uint_t *vei;
+ // vei[nv] length array. vertex i is connected to edges ve[vei[i]+j], 0 <= j < vei[i+1]-vei[i]
uint_t *ve;
uint_t *bound_inds;
uint_t *bound_verts;