nns.c  1.0.1
Nanowire Network simulator
All Classes Files Functions Variables Enumerations Enumerator Macros Pages
connected_component Struct Reference

Connected component of the Nanowire Network. It contains all the information needed to identify the nanowires and junctions in it. Additionally, it contains the index of the junctions in the CC-specific adjacency matrix. More...

#include <component.h>

Public Attributes

int ws_count
 
int js_count
 
int ws_skip
 
int js_skip
 
int * Is
 

Detailed Description

Connected component of the Nanowire Network. It contains all the information needed to identify the nanowires and junctions in it. Additionally, it contains the index of the junctions in the CC-specific adjacency matrix.

Member Data Documentation

◆ Is

int* connected_component::Is

Linearized index of the junctions (i.e., junction(i, j) = junction(i * size + j)) in the CC-specific adjacency matrix. Ordered to specify the position of the Ys(i, j) weights.

◆ js_count

int connected_component::js_count

Number of junctions in the connected component.

◆ js_skip

int connected_component::js_skip

Start index of the CC sub-array in the ns arrays (for junctions).

◆ ws_count

int connected_component::ws_count

Number of nanowires in the connected component.

◆ ws_skip

int connected_component::ws_skip

Start index of the CC sub-array in the ns arrays (for nanowires).


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