struct
SushiDSP::dk::Branch
One two-terminal element: its node pair and its value.
- Declared in
include/SushiDSP/math/dk/DkNetlist.hpp
Node 0 is ground. The element's current is defined as flowing from positive_node to negative_node through the element, and its voltage as V(positive_node) minus V(negative_node); the whole derivation reads its incidence signs off that one convention.
Public attributes
std::size_t positive_node = 0Terminal the branch voltage is measured from; 0 is ground.
std::size_t negative_node = 0Terminal the branch current flows into; 0 is ground.
double value = 0.0Ohms, farads or henries; unused for sources, nonlinears and probes.

