33 int jcmp(
const void* e1,
const void* e2);
int jcmp(const void *e1, const void *e2)
Compares two junctions according to their first and potentially second nanowire-index....
Definition: junction.c:3
Defines a structure representing a point in the Cartesian space, and a function to compute the square...
Stores the index of the wires forming the junction together with its position.
Definition: junction.h:19
int second_wire
Second wire forming the junction.
Definition: junction.h:21
int first_wire
First wire forming the junction.
Definition: junction.h:20
point position
Position of the junction.
Definition: junction.h:22
Structure representing a point in the cartesian space.
Definition: point.h:12