nns.c
1.0.1
Nanowire Network simulator
|
Defines the Micro-Electrode Array (MEA) structure and related functions. More...
#include "config.h"
#include "device/datasheet.h"
#include "device/network.h"
#include "interface/connection.h"
#include "interface/interface.h"
#include "util/point.h"
Go to the source code of this file.
Classes | |
struct | MEA |
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... | |
Functions | |
MEA | connect_MEA (const datasheet ds, const network_topology nt) |
Connect the MEA to the Nanowire Network discovering the touched nanowires. More... | |
interface | mea2interface (const MEA mea) |
Convert a MEA data structure into an interface data structure. More... | |
Defines the Micro-Electrode Array (MEA) structure and related functions.
This header file provides definitions for the Micro-Electrode Array (MEA) data structure and functions for connecting the MEA to a nanowire network and for converting it to an interface data structure. The MEA consists of an array of electrodes, each with position data, a mapping to the nearest nanowire, connection state, and possible weights of attached loads.
MEA connect_MEA | ( | const datasheet | ds, |
const network_topology | nt | ||
) |