nns.c  1.0.1
Nanowire Network simulator
mea.h
Go to the documentation of this file.
1 
13 #ifndef MEA_H
14 #define MEA_H
15 
16 #include "config.h"
17 #include "device/datasheet.h"
18 #include "device/network.h"
19 #include "interface/connection.h"
20 #include "interface/interface.h"
21 #include "util/point.h"
22 
28 typedef struct
29 {
30  point Ps[MEA_ELECTRODES];
31  int e2n[MEA_ELECTRODES];
35  connection_t ct[MEA_ELECTRODES];
37  double ws[MEA_ELECTRODES];
39 } MEA;
40 
48 MEA connect_MEA(const datasheet ds, const network_topology nt);
49 
54 interface mea2interface(const MEA mea);
55 
56 #endif /* MEA_H */
Defines constants of the simulator. Not supposed to be modified.
Defines the enumeration for the possible connection states of an electrode to a specific nanowire in ...
connection_t
Enumeration of possible connection states for a nanowire in a Nanowire Network. A nanowire is always ...
Definition: connection.h:18
Defines the structure and comparison function for a device's datasheet.
Defines the structure of the nanowire-network device interface to the external world.
MEA connect_MEA(const datasheet ds, const network_topology nt)
Connect the MEA to the Nanowire Network discovering the touched nanowires.
Definition: mea.c:8
interface mea2interface(const MEA mea)
Convert a MEA data structure into an interface data structure.
Definition: mea.c:61
Defines the structures and functions used to model and simulate the topology and electrical state of ...
Defines a structure representing a point in the Cartesian space, and a function to compute the square...
Represent a Micro-Electrode Array of 16 electrodes (physically sound). Save their position and the in...
Definition: mea.h:29
Defines the static characteristics of the device.
Definition: datasheet.h:16
Topology of the Nanowire Network. It contains information about the physical placement of nanowires a...
Definition: network.h:26
Structure representing a point in the cartesian space.
Definition: point.h:12