Class CircuitNodeLink

java.lang.Object
org.episteme.natural.physics.classical.waves.electromagnetism.circuit.CircuitNodeLink

public class CircuitNodeLink extends Object
Represents a link between a circuit node and a circuit element. Each link identifies which terminal (post) of the element connects to the node.
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Field Details

    • num

      public int num
      The terminal number on the element (0 = first post, 1 = second post, etc.)
    • elm

      public CircuitElement elm
      The circuit element connected via this link
  • Constructor Details

    • CircuitNodeLink

      public CircuitNodeLink()
      Creates an empty node link.
    • CircuitNodeLink

      public CircuitNodeLink(CircuitElement elm, int num)
      Creates a node link with the specified element and terminal.
      Parameters:
      elm - The circuit element
      num - The terminal number on the element