Class SimulationControl
Base for all control simulation readers.
Inheritance
System.Object
SimulationControl
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SpiceSharpParser.ModelReaders.Netlist.Spice.Readers.Controls.Simulations
Assembly: SpiceSharpParser.dll
Syntax
public abstract class SimulationControl : BaseControl, IStatementReader
Constructors
| Improve this Doc View SourceSimulationControl(IMapper<Exporter>)
Initializes a new instance of the SimulationControl class.
Declaration
protected SimulationControl(IMapper<Exporter> exporterMapper)
Parameters
Type | Name | Description |
---|---|---|
IMapper<Exporter> | exporterMapper |
Methods
| Improve this Doc View SourceConfigureCommonSettings(Simulation, ICircuitContext)
Sets the base parameters of a simulation.
Declaration
protected void ConfigureCommonSettings(Simulation baseSimulation, ICircuitContext context)
Parameters
Type | Name | Description |
---|---|---|
SpiceSharp.Simulations.Simulation | baseSimulation | The simulation to configure. |
ICircuitContext | context | The reading context. |
CreateSimulations(Control, ICircuitContext, Func<String, Control, ICircuitContext, Simulation>)
Creates simulations.
Declaration
protected void CreateSimulations(Control statement, ICircuitContext context, Func<string, Control, ICircuitContext, Simulation> createSimulation)
Parameters
Type | Name | Description |
---|---|---|
Control | statement | |
ICircuitContext | context | |
System.Func<System.String, Control, ICircuitContext, SpiceSharp.Simulations.Simulation> | createSimulation |