Class FixedEuler
A configuration that allows doing transient analysis using a fixed-timestep backward Euler integration method. This method is one of the fastest, but can also lead to more inaccurate results. Reducing the timestep will improve the truncation errors, but can worsen numerical accuracy.
Implements
Inherited Members
Namespace: SpiceSharp.Simulations.IntegrationMethods
Assembly: SpiceSharp.dll
Syntax
public class FixedEuler : TimeParameters, ICloneable<TimeParameters>, IImportParameterSet<double>, IExportPropertySet<double>, IImportParameterSet<bool>, IExportPropertySet<bool>, IImportParameterSet<int>, IExportPropertySet<int>, IParameterSet
Properties
Step
Gets or sets the timestep.
Declaration
[ParameterName("step")]
[ParameterInfo("The fixed timestep used.")]
public double Step { get; set; }
Property Value
Type | Description |
---|---|
double | The timestep. |
Exceptions
Type | Condition |
---|---|
ArgumentException | Thrown if the timestep is negative or zero. |
Methods
Create(IBiasingSimulationState)
Creates an instance of the integration method.
Declaration
public override IIntegrationMethod Create(IBiasingSimulationState state)
Parameters
Type | Name | Description |
---|---|---|
IBiasingSimulationState | state | The biasing simulation state that will be used as a base. |
Returns
Type | Description |
---|---|
IIntegrationMethod | The integration method. |