Show / Hide Table of Contents

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.

Inheritance
object
ParameterSet
TimeParameters
FixedEuler
Implements
ICloneable<TimeParameters>
IImportParameterSet<double>
IExportPropertySet<double>
IImportParameterSet<bool>
IExportPropertySet<bool>
IImportParameterSet<int>
IExportPropertySet<int>
IParameterSet
Inherited Members
TimeParameters.UseIc
TimeParameters.InitialConditions
TimeParameters.Validate
TimeParameters.Clone()
TimeParameters.TransientMaxIterations
TimeParameters.StartTime
TimeParameters.StopTime
ParameterSet.SetParameter<P>(string, P)
ParameterSet.TrySetParameter<P>(string, P)
ParameterSet.GetProperty<P>(string)
ParameterSet.TryGetProperty<P>(string, out P)
ParameterSet.CreateParameterSetter<P>(string)
ParameterSet.CreatePropertyGetter<P>(string)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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.

Overrides
TimeParameters.Create(IBiasingSimulationState)

Implements

ICloneable<T>
IImportParameterSet<P>
IExportPropertySet<P>
IImportParameterSet<P>
IExportPropertySet<P>
IImportParameterSet<P>
IExportPropertySet<P>
IParameterSet

Extension Methods

Documentation.ParameterValues<T>(IParameterSet, bool)
Documentation.Parameters(IParameterSet)
Utility.ThrowIfNull<T>(T, string)

See Also

TimeParameters
In this article
Back to top Generated by DocFX