nns.c  1.0.1
Nanowire Network simulator
interface Struct Reference

Interface between the nanowire-network device and external systems. More...

#include <interface.h>

Public Attributes

int sources_count
 Number of sources connected to the device.
 
int * sources_index
 Index of the input nanowires.
 
int grounds_count
 Number of grounds connected to the device.
 
int * grounds_index
 Index of the output nanowires.
 
int loads_count
 Number of loads connected to the device.
 
int * loads_index
 Index of the output nanowires.
 
double * loads_weight
 

Detailed Description

Interface between the nanowire-network device and external systems.

Example of the possible use of the interface.

V
|
---------------
| | |
| *---*---* |
| | / | |
| | / | |
| *===L===* |
| NN | |
---------------
|
G

Member Data Documentation

◆ loads_weight

double* interface::loads_weight

Weight of the optional load connected to a nanowire (in siemens).


The documentation for this struct was generated from the following file: