Class CreateSimulationsForAllParameterSweepsAndTemperaturesFactory
Inheritance
System.Object
CreateSimulationsForAllParameterSweepsAndTemperaturesFactory
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.Factories
Assembly: SpiceSharpParser.dll
Syntax
public class CreateSimulationsForAllParameterSweepsAndTemperaturesFactory : ICreateSimulationsForAllParameterSweepsAndTemperaturesFactory
Constructors
| Improve this Doc View SourceCreateSimulationsForAllParameterSweepsAndTemperaturesFactory(ICreateSimulationsForAllTemperaturesFactory)
Declaration
public CreateSimulationsForAllParameterSweepsAndTemperaturesFactory(ICreateSimulationsForAllTemperaturesFactory allTemperaturesFactory)
Parameters
Type | Name | Description |
---|---|---|
ICreateSimulationsForAllTemperaturesFactory | allTemperaturesFactory |
Properties
| Improve this Doc View SourceAllTemperaturesFactory
Gets the simulations factory.
Declaration
public ICreateSimulationsForAllTemperaturesFactory AllTemperaturesFactory { get; }
Property Value
Type | Description |
---|---|
ICreateSimulationsForAllTemperaturesFactory |
ParameterUpdater
Gets the parameter updater.
Declaration
protected IParameterSweepUpdater ParameterUpdater { get; }
Property Value
Type | Description |
---|---|
IParameterSweepUpdater |
Methods
| Improve this Doc View SourceCreateSimulations(Control, ICircuitContext, Func<String, Control, ICircuitContext, Simulation>)
Creates simulations for all parameter and temperature sweeps.
Declaration
public List<Simulation> CreateSimulations(Control statement, ICircuitContext context, Func<string, Control, ICircuitContext, Simulation> createSimulation)
Parameters
Type | Name | Description |
---|---|---|
Control | statement | Statement. |
ICircuitContext | context | Context. |
System.Func<System.String, Control, ICircuitContext, SpiceSharp.Simulations.Simulation> | createSimulation | Create simulation factory. |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<SpiceSharp.Simulations.Simulation> |
GetSimulationNameSuffix(List<KeyValuePair<Parameter, Double>>)
Declaration
protected string GetSimulationNameSuffix(List<KeyValuePair<Parameter, double>> parameterValues)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<System.Collections.Generic.KeyValuePair<Parameter, System.Double>> | parameterValues |
Returns
Type | Description |
---|---|
System.String |
GetSweepParameterValues(ICircuitContext, List<List<Double>>, Int32[], Int32[])
Declaration
protected List<KeyValuePair<Parameter, double>> GetSweepParameterValues(ICircuitContext context, List<List<double>> sweeps, int[] system, int[] indexes)
Parameters
Type | Name | Description |
---|---|---|
ICircuitContext | context | |
System.Collections.Generic.List<System.Collections.Generic.List<System.Double>> | sweeps | |
System.Int32[] | system | |
System.Int32[] | indexes |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.Collections.Generic.KeyValuePair<Parameter, System.Double>> |
ProcessTempParameterSweep(ICircuitContext)
Declaration
protected void ProcessTempParameterSweep(ICircuitContext context)
Parameters
Type | Name | Description |
---|---|---|
ICircuitContext | context |
SetSweepSimulation(ICircuitContext, List<KeyValuePair<Parameter, Double>>, Simulation)
Declaration
protected void SetSweepSimulation(ICircuitContext context, List<KeyValuePair<Parameter, double>> parameterValues, Simulation simulation)
Parameters
Type | Name | Description |
---|---|---|
ICircuitContext | context | |
System.Collections.Generic.List<System.Collections.Generic.KeyValuePair<Parameter, System.Double>> | parameterValues | |
SpiceSharp.Simulations.Simulation | simulation |