Class SpiceIntegrationState
Represents the state of an integration method at a certain time point.
Inherited Members
Namespace: SpiceSharp.Simulations.IntegrationMethods
Assembly: SpiceSharp.dll
Syntax
public class SpiceIntegrationState
Constructors
SpiceIntegrationState(double, IVector<double>, int)
Initializes a new instance of the SpiceIntegrationState class.
Declaration
public SpiceIntegrationState(double delta, IVector<double> solution, int states)
Parameters
Type | Name | Description |
---|---|---|
double | delta | The timestep. |
IVector<double> | solution | The solution. |
int | states | The number of states to keep for derivatives. |
Properties
Delta
Gets or sets the timestep.
Declaration
public double Delta { get; set; }
Property Value
Type | Description |
---|---|
double | The delta. |
Solution
Gets the associated solution with the timepoint.
Declaration
public IVector<double> Solution { get; }
Property Value
Type | Description |
---|---|
IVector<double> | The solution. |
State
Gets the states allocated by entities at this timepoint.
Declaration
public IVector<double> State { get; }
Property Value
Type | Description |
---|---|
IVector<double> | The state. |