Class Gear.Instance.NodeTruncation
An ITruncatable that looks at simulation variables.
Implements
Inherited Members
Namespace: SpiceSharp.Simulations.IntegrationMethods
Assembly: SpiceSharp.dll
Syntax
protected class Gear.Instance.NodeTruncation : ITruncatable
Constructors
NodeTruncation(Instance)
Initializes a new instance of the Gear.Instance.NodeTruncation class.
Declaration
public NodeTruncation(Gear.Instance method)
Parameters
| Type | Name | Description |
|---|---|---|
| Gear.Instance | method | The integration method. |
Methods
Truncate()
Truncates the current timestep.
Declaration
public double Truncate()
Returns
| Type | Description |
|---|---|
| double | The maximum timestep allowed by this state. |