nns.c  1.0.1
Nanowire Network simulator
connection.h File Reference

Defines the enumeration for the possible connection states of an electrode to a specific nanowire in a Nanowire Network. More...

Go to the source code of this file.

Enumerations

enum  connection_t { NONE , SOURCE , GROUND , LOAD }
 Enumeration of possible connection states for a nanowire in a Nanowire Network. A nanowire is always in one, and one only, of those states. More...
 

Detailed Description

Defines the enumeration for the possible connection states of an electrode to a specific nanowire in a Nanowire Network.

This header contains an enumeration that represents the different input/ output states a nanowire can be in. A nanowire can either be unconnected, connected to a voltage source, grounded, or connected to an external load.

Enumeration Type Documentation

◆ connection_t

Enumeration of possible connection states for a nanowire in a Nanowire Network. A nanowire is always in one, and one only, of those states.

Enumerator
NONE 

The nanowire is not connected with any external instrument directly.

SOURCE 

The nanowire is connected to a voltage source.

GROUND 

The nanowire is grounded.

LOAD 

The nanowire is connected to an external load.