Class FixedTrapezoidal
A configuration that allows doing transient analysis using a fixed-timestep trapezoidal integration method. This method is pretty fast, 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 FixedTrapezoidal : 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. |
Xmu
Gets the xmu constant.
Declaration
[ParameterName("xmu")]
[ParameterInfo("The xmu parameter.")]
public double Xmu { get; set; }
Property Value
Type | Description |
---|---|
double | The xmu constant. |
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. |