Class Frequency.FlatSimulationState
An IComplexSimulationState that can be used with a local solver and solution.
Inheritance
System.Object
Frequency.FlatSimulationState
Implements
ISolverSimulationState<System.Numerics.Complex>
System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<System.String, IVariable<System.Numerics.Complex>>>
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, IVariable<System.Numerics.Complex>>>
System.Collections.IEnumerable
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
protected class FlatSimulationState : FlatSolverState<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
FlatSimulationState(String, IComplexSimulationState, IEnumerable<Bridge<String>>)
Initializes a new instance of the Frequency.FlatSimulationState class.
Declaration
public FlatSimulationState(string name, IComplexSimulationState parent, IEnumerable<Bridge<string>> nodes)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name. |
| IComplexSimulationState | parent | The parent. |
| System.Collections.Generic.IEnumerable<Bridge<System.String>> | nodes | The nodes. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | Thrown if |
Properties
Laplace
Gets or sets the current laplace variable.
Declaration
public Complex Laplace { get; }
Property Value
| Type | Description |
|---|---|
| System.Numerics.Complex | The laplace. |
Implements
System.Collections.Generic.IReadOnlyDictionary<TKey, TValue>
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable