nns.c  1.0.1
Nanowire Network simulator
wires.h
Go to the documentation of this file.
1 
7 #ifndef WIRES_H
8 #define WIRES_H
9 
10 #include <stdbool.h>
11 
12 #include "device/datasheet.h"
13 #include "device/junction.h"
14 #include "device/network.h"
15 #include "device/wire.h"
16 
23 wire* drop_wires(const datasheet ds);
24 
34 void detect_junctions(const datasheet ds, const wire* ws, junction** js, int* js_count);
35 
42 bool** construe_adjacency_matrix(const datasheet ds, const network_topology nt);
43 
44 #endif /* WIRES_H */
Defines the structure and comparison function for a device's datasheet.
Defines the structure and comparison function for nanowire junctions.
Defines the structures and functions used to model and simulate the topology and electrical state of ...
Defines the static characteristics of the device.
Definition: datasheet.h:16
Stores the index of the wires forming the junction together with its position.
Definition: junction.h:19
Topology of the Nanowire Network. It contains information about the physical placement of nanowires a...
Definition: network.h:26
Stores the starting and ending positions of a wire together with its centroid position and total leng...
Definition: wire.h:20
Defines the ‘wire’ structure and a function for comparing wires by length.
bool ** construe_adjacency_matrix(const datasheet ds, const network_topology nt)
Given the datasheet and the network topology, construe the Nanowire Network adjacency matrix identify...
Definition: wires.c:142
void detect_junctions(const datasheet ds, const wire *ws, junction **js, int *js_count)
Detect the junctions between the nanowires composing the Nanowire Network.
Definition: wires.c:63
wire * drop_wires(const datasheet ds)
Given the Nanowire Network description (i.e., the datasheet), produce it by dropping the specified nu...
Definition: wires.c:16