Class Frequency.LocalSimulationState
An IComplexSimulationState that can be used with a local solver and solution.
Inheritance
Frequency.LocalSimulationState
Implements
Inherited Members
Namespace: SpiceSharp.Components.Subcircuits
Assembly: SpiceSharp.dll
Syntax
protected class Frequency.LocalSimulationState : LocalSolverState<Complex, IComplexSimulationState>, IComplexSimulationState, ISolverSimulationState<Complex>, ISimulationState, IVariableFactory<IVariable<Complex>>, IVariableDictionary<IVariable<Complex>>, IReadOnlyDictionary<string, IVariable<Complex>>, IReadOnlyCollection<KeyValuePair<string, IVariable<Complex>>>, IEnumerable<KeyValuePair<string, IVariable<Complex>>>, IEnumerable
Constructors
LocalSimulationState(string, IComplexSimulationState, ISparsePivotingSolver<Complex>)
Initializes a new instance of the Frequency.LocalSimulationState class.
Declaration
public LocalSimulationState(string name, IComplexSimulationState parent, ISparsePivotingSolver<Complex> solver)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name. |
IComplexSimulationState | parent | The parent. |
ISparsePivotingSolver<Complex> | solver | The solver. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | Thrown if |
Properties
IsConvergent
Gets or sets a value indicating whether the solution converges.
Declaration
public bool IsConvergent { get; set; }
Property Value
Type | Description |
---|---|
bool | If |
Laplace
Gets or sets the current laplace variable.
Declaration
public Complex Laplace { get; }
Property Value
Type | Description |
---|---|
Complex | The laplace. |