Class Biasing.FlatSimulationState
An IBiasingSimulationState that just maps nodes but uses the same solver.
Inheritance
Biasing.FlatSimulationState
  Implements
Inherited Members
Namespace: SpiceSharp.Components.Subcircuits
Assembly: SpiceSharp.dll
Syntax
protected class Biasing.FlatSimulationState : FlatSolverState<double, IBiasingSimulationState>, IBiasingSimulationState, ISolverSimulationState<double>, ISimulationState, IVariableFactory<IVariable<double>>, IVariableDictionary<IVariable<double>>, IReadOnlyDictionary<string, IVariable<double>>, IReadOnlyCollection<KeyValuePair<string, IVariable<double>>>, IEnumerable<KeyValuePair<string, IVariable<double>>>, IEnumerableConstructors
FlatSimulationState(string, IBiasingSimulationState, IEnumerable<Bridge<string>>)
Initializes a new instance of the Biasing.FlatSimulationState class.
Declaration
public FlatSimulationState(string name, IBiasingSimulationState parent, IEnumerable<Bridge<string>> nodes)Parameters
| Type | Name | Description | 
|---|---|---|
| string | name | The name. | 
| IBiasingSimulationState | parent | The parent. | 
| IEnumerable<Bridge<string>> | nodes | The nodes. | 
Exceptions
| Type | Condition | 
|---|---|
| ArgumentNullException | Thrown if  | 
Properties
OldSolution
Gets the solution vector of the last computed iteration.
Declaration
public IVector<double> OldSolution { get; }Property Value
| Type | Description | 
|---|---|
| IVector<double> | The solution to the last iteration. | 
Remarks
This vector is needed for determining convergence.