Class BehavioralBindingContext
A context for behavioral components.
Inheritance
System.Object
BehavioralBindingContext
Namespace: SpiceSharp.Components.BehavioralComponents
Assembly: SpiceSharpBehavioral.dll
Syntax
public class BehavioralBindingContext : ComponentBindingContext
Constructors
BehavioralBindingContext(IComponent, ISimulation, IBehaviorContainer)
Initializes a new instance of the BehavioralBindingContext class.
Declaration
public BehavioralBindingContext(IComponent component, ISimulation simulation, IBehaviorContainer behaviors)
Parameters
Type | Name | Description |
---|---|---|
SpiceSharp.Components.IComponent | component | The component creating the behavior. |
SpiceSharp.Simulations.ISimulation | simulation | The simulation for which a behavior is created. |
SpiceSharp.Behaviors.IBehaviorContainer | behaviors | The created behaviors. |
Properties
Branches
Gets the current references.
Declaration
public Dictionary<VariableNode, IBehaviorContainer> Branches { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<VariableNode, SpiceSharp.Behaviors.IBehaviorContainer> | The current references. |
Derivatives
Gets the derivatives w.r.t. to any voltage and current nodes.
Declaration
public Dictionary<VariableNode, Node> Derivatives { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<VariableNode, Node> | The derivatives. |
See Also
SpiceSharp.Components.ComponentBindingContext