It has methods for handling as well single valued items (one element) and vector items with several elements.
public interface ITimeData| NumberOfElements | Number of elements. |
| NumberOfTimeSteps | Number of time steps. |
| Add | Adds a time step, with empty data |
| Add(Single) |
Adds a time step, setting the provided value
calling this method is only valid if NumberOfElements equals 1. |
| Add(Single) |
Adds a time step, setting the provided values
calling this method is only valid if NumberOfElements is greater than 1. |
| Clear | Remove all values from the object. |
| GetValue | Get value for the speficied time step and element |
| GetValues |
Get values for all elements for the speficied time step
calling this method is only valid if NumberOfElements is greater than 1. |
| RemoveAt | Remove element at specified index. |
| SetValue |
Set value at the speficied time step and element
For single valued items, when NumberOfElements equals 1, set elementIndex to zero. |
| SetValues |
Set values for all elements at the speficied time step
calling this method is only valid if NumberOfElements is greater than 1. |
| Expand |
Expand timeData from timestepIndex
and assure room for length new time steps.
If those time steps are already available, this does nothing.
The timestepIndex must be within or just after the end of the current set of time steps in timeData (Defined by ResultDataExtensions) |
| GetValue |
Interplate a value in interval, with fraction,
for the specified elementIndex (Defined by ResultDataExtensions) |