Interface ITruncatingBehavior
Describes a class that is capable of truncating a timestep.
Inherited Members
Namespace: SpiceSharp.Behaviors
Assembly: SpiceSharp.dll
Syntax
public interface ITruncatingBehavior : IBehavior, IParameterSetCollection, IParameterSet
Methods
Evaluate()
Evaluate the currently calculated solution and return the maximum timestep that this behavior allows.
Declaration
double Evaluate()
Returns
Type | Description |
---|---|
double | The timestep. |
Prepare()
Calculate the maximum timestep that the behavior allows for our next time point.
Declaration
double Prepare()
Returns
Type | Description |
---|---|
double | The timestep. |