Class ConnectedAttribute
Indicates that two pins are connected by a finite impedance at DC. This attribute can be applied to an Component to check for floating nodes.
Inherited Members
Namespace: SpiceSharp.Attributes
Assembly: SpiceSharp.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public sealed class ConnectedAttribute : Attribute
Constructors
ConnectedAttribute()
Initializes a new instance of the ConnectedAttribute class.
Declaration
public ConnectedAttribute()
ConnectedAttribute(int, int)
Initializes a new instance of the ConnectedAttribute class.
Declaration
public ConnectedAttribute(int pin1, int pin2)
Parameters
Type | Name | Description |
---|---|---|
int | pin1 | The first pin index. |
int | pin2 | The second pin index. |
Properties
Pin1
Gets the first connected pin index.
Declaration
public int Pin1 { get; }
Property Value
Type | Description |
---|---|
int |
Pin2
Gets the second connected pin index.
Declaration
public int Pin2 { get; }
Property Value
Type | Description |
---|---|
int |