Turn on more accessible mode
Skip to main content
Turn off more accessible mode
FluidEarth Portal
Sign In
|
FluidEarth Portal
This Site
This List
FluidEarth Portal
>
FluidEarth Discussions
>
Design of Wrapped PointTimeSeries Component
>
Design of Wrapped PointTimeSeries Component
FluidEarth Discussions
: Design of Wrapped PointTimeSeries Component
Body
Okay.
By set up I really mean "prepare configuration file". Certainly, Initialise() will read all of this data.
So with this example, where all of the data is retrieved from a live source, there is no indicative time-step. The timestepping function merely goes to the next array item for which there is data.
Q.
From:
JMauz
Posted:
Tuesday, October 07, 2008 10:39 AM
Subject:
Design of Wrapped PointTimeSeries Component
Set Up and On Initialise as described above should be combined and coded in the
Initialise()
method. As stated the return value will be the first timestamp (converted to a double).
In
PerformTimestep()
return a timestamp as a double and populate the double array dataOut with the value for that timestamp. In your code you will need to keep track of which timestamp you last returned so that you can increment to the next timestamp in the next call of PerformTimestep().
Attachments
Content Type:
Message
Created at 07/10/2008 10:49 by Quillon Harpham
Last modified at 07/10/2008 10:49 by Quillon Harpham
Use this page to add attachments to an item.
Name