nns.c
1.0.1
Nanowire Network simulator
|
Represent a Micro-Electrode Array of 16 electrodes (physically sound). Save their position and the index of the nearest nanowire (calculated from the centroid). If the electrode is not enough near to any nanowire, its mapping value is -1. Also memorize the connection state of each electrode and its possible connected weight. More...
#include <mea.h>
Public Attributes | |
point | Ps [MEA_ELECTRODES] |
The position of each electrode. | |
int | e2n [MEA_ELECTRODES] |
connection_t | ct [MEA_ELECTRODES] |
double | ws [MEA_ELECTRODES] |
Represent a Micro-Electrode Array of 16 electrodes (physically sound). Save their position and the index of the nearest nanowire (calculated from the centroid). If the electrode is not enough near to any nanowire, its mapping value is -1. Also memorize the connection state of each electrode and its possible connected weight.
connection_t MEA::ct[MEA_ELECTRODES] |
Contains the connection type of each electrode; see connection_t
int MEA::e2n[MEA_ELECTRODES] |
A mapping from the electrode index to the nanowire index. If the electrode is not enough near to any nanowire, its value is -1.
double MEA::ws[MEA_ELECTRODES] |
The possible weights connected to the electrode (in siemens).