Class ParallelSimulation
A subcircuit simulation that captures created behaviors in a local container.
Inherited Members
Namespace: SpiceSharp.Components.ParallelComponents
Assembly: SpiceSharp.dll
Syntax
public class ParallelSimulation : SimulationWrapper, ISimulation, IStateful, IBehavioral, IParameterSetCollection, IParameterSet
Constructors
ParallelSimulation(ISimulation, IParameterSetCollection)
Initializes a new instance of the ParallelSimulation class.
Declaration
public ParallelSimulation(ISimulation parent, IParameterSetCollection parameters)
Parameters
| Type | Name | Description |
|---|---|---|
| ISimulation | parent | The parent simulation. |
| IParameterSetCollection | parameters | The parallel component parameters. |
Properties
LocalParameters
Gets the local configurations.
Declaration
public IParameterSetCollection LocalParameters { get; }
Property Value
| Type | Description |
|---|---|
| IParameterSetCollection | The local configurations. |
Methods
GetState<S>()
Gets the state of the specified type.
Declaration
public override S GetState<S>() where S : ISimulationState
Returns
| Type | Description |
|---|---|
| S | The type, or |
Type Parameters
| Name | Description |
|---|---|
| S | The simulation state type. |
Overrides
Exceptions
| Type | Condition |
|---|---|
| TypeNotFoundException | Thrown if the simulation state is not defined on this instance. |