Class VariableTimestepConfiguration
A configuration for an integration method that has a variable timestep.
Inherited Members
Namespace: SpiceSharp.Simulations.IntegrationMethods
Assembly: SpiceSharp.dll
Syntax
public abstract class VariableTimestepConfiguration : TimeParameters, IParameterSet, ICloneable<TimeParameters>
Properties
MaxStep
Gets or sets the maximum step. If the maximum timestep is 0.0, a maximum timestep is chosen of 1/50 the time range.
Declaration
[ParameterName("maxstep")]
[ParameterName("deltamax")]
[ParameterInfo("The maximum timestep.")]
public virtual double MaxStep { get; set; }
Property Value
Type | Description |
---|---|
double | The maximum timestep. |
Exceptions
Type | Condition |
---|---|
ArgumentException | Thrown if the specified timestep is negative. |
MaximumExpansion
Gets or sets the maximum timestep expansion factor.
Declaration
[ParameterName("expansion")]
[ParameterInfo("The maximum timestep expansion factor.")]
public virtual double MaximumExpansion { get; set; }
Property Value
Type | Description |
---|---|
double | The maximum timestep expansion factor. |
Exceptions
Type | Condition |
---|---|
ArgumentException | Thrown if the expansion factor is less than 1. |
MinStep
Gets or sets the minimum step. If the minimum timestep is 0.0, a minimum timestep is chosen of 1e-9 * MaxStep.
Declaration
[ParameterName("minstep")]
[ParameterName("deltamin")]
[ParameterInfo("The minimum timestep.")]
public virtual double MinStep { get; set; }
Property Value
Type | Description |
---|---|
double | The minimum timestep. |
Exceptions
Type | Condition |
---|---|
ArgumentException | Thrown if the specified timestep is negative. |