Class Biasing
An IBiasingBehavior for a SubcircuitDefinition.
Inheritance
System.Object
Biasing
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: SpiceSharp.Components.Subcircuits.Simple
Assembly: SpiceSharp.dll
Syntax
public class Biasing : SubcircuitBehavior<IBiasingBehavior>, IConvergenceBehavior, IBiasingBehavior, IBehavior, IParameterSetCollection, IParameterSet, ICloneable
Constructors
Biasing(String, SubcircuitSimulation)
Initializes a new instance of the Biasing class.
Declaration
public Biasing(string name, SubcircuitSimulation simulation)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name. |
| SubcircuitSimulation | simulation | The simulation. |
Methods
LoadBehaviors()
Loads the behaviors.
Declaration
protected virtual void LoadBehaviors()
Prepare(SubcircuitSimulation)
Prepares the specified simulation for biasing behaviors.
Declaration
public static void Prepare(SubcircuitSimulation simulation)
Parameters
| Type | Name | Description |
|---|---|---|
| SubcircuitSimulation | simulation | The simulation. |
Explicit Interface Implementations
IBiasingBehavior.Load()
Loads the Y-matrix and right hand side vector.
Declaration
void IBiasingBehavior.Load()
Exceptions
| Type | Condition |
|---|---|
| SpiceSharpException | Thrown if the behavior can't load the matrix and/or right hand side vector. |
IConvergenceBehavior.IsConvergent()
Tests convergence at the device-level.
Declaration
bool IConvergenceBehavior.IsConvergent()
Returns
| Type | Description |
|---|---|
| System.Boolean |
|