Class CircuitNode
java.lang.Object
org.episteme.natural.physics.classical.waves.electromagnetism.circuit.CircuitNode
Represents a node (connection point) in an electrical circuit.
Nodes are the points where circuit elements connect.
Each node is assigned a voltage during simulation.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanWhether this is an internal node (not an external terminal)final List<CircuitNodeLink> Links to circuit elements connected to this nodeintX coordinate (for topological purposes, not physics)intY coordinate (for topological purposes, not physics) -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new circuit node at the origin.CircuitNode(int x, int y) Creates a new circuit node at the specified coordinates. -
Method Summary
-
Field Details
-
x
public int xX coordinate (for topological purposes, not physics) -
y
public int yY coordinate (for topological purposes, not physics) -
internal
public boolean internalWhether this is an internal node (not an external terminal) -
links
Links to circuit elements connected to this node
-
-
Constructor Details
-
CircuitNode
public CircuitNode()Creates a new circuit node at the origin. -
CircuitNode
public CircuitNode(int x, int y) Creates a new circuit node at the specified coordinates.- Parameters:
x- X coordinatey- Y coordinate
-