Class BehavioralCurrentSource
A behavioral current source.
Implements
SpiceSharp.Components.IComponent
SpiceSharp.Entities.IEntity
SpiceSharp.ICloneable
SpiceSharp.ParameterSets.IParameterSetCollection
SpiceSharp.ParameterSets.IParameterSet
SpiceSharp.ParameterSets.IParameterized<Parameters>
Inherited Members
Namespace: SpiceSharp.Components
Assembly: SpiceSharpBehavioral.dll
Syntax
public class BehavioralCurrentSource : BehavioralComponent, IComponent, IEntity, ICloneable, IParameterSetCollection, IParameterSet, IParameterized<Parameters>
Constructors
BehavioralCurrentSource(String)
Initializes a new instance of the BehavioralCurrentSource class.
Declaration
public BehavioralCurrentSource(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the entity. |
BehavioralCurrentSource(String, String, String, String)
Initializes a new instance of the BehavioralCurrentSource class.
Declaration
public BehavioralCurrentSource(string name, string pos, string neg, string expression)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name. |
System.String | pos | The positive node. |
System.String | neg | The negative node. |
System.String | expression | The expression. |
Fields
BehavioralCurrentSourcePinCount
The behavioral current source base pin count
Declaration
public const int BehavioralCurrentSourcePinCount = 2
Field Value
Type | Description |
---|---|
System.Int32 |
Implements
SpiceSharp.Components.IComponent
SpiceSharp.Entities.IEntity
SpiceSharp.ICloneable
SpiceSharp.ParameterSets.IParameterSetCollection
SpiceSharp.ParameterSets.IParameterSet
SpiceSharp.ParameterSets.IParameterized<>