diff options
-rw-r--r-- | src/fracture.h | 11 |
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; |