OK Raoul...
Here's a CAL equivalent:
http://files.me.com/luke_e/conp69
I haven't spent any time really validating it, and there's no
visualisation... perhaps you can add that ;-)
It seems to pass quick check, i.e. in ICE (logged into the
OrbitSim.Orbit_Tests module):
quickCheck prop_EnergyConserved
passes.
The link above unzips to a full Eclipse project, so if you have the
Eclipse plug-in installed, you can just import the project.
Otherwise, just check out the two .cal files in the source and test
trees therein.
If you are using Eclipse, but haven't created an ICE run configuration
before, it's easy to do this:
* Make a new Run Configuration with org.openquark.cal.ICE as the main
class in the project "Quark_Binaries" (or whatever your quark binaries
project is called)
* Set the run configuration's VM arguments like this:
-Xms256m -Xmx1024m
-Dorg.openquark.cal.workspace.spec="StandardVault orbitsimTests.cws"
-Dorg.openquark.cal.ice.module=OrbitSim.Orbit_Tests
* Add the OrbitSim project to the run configuration's Classpath (User
Entries). Turn off the "add exported" and "add required" checkboxes
when you do this.
When you run this configuration, you should see ICE pop up in the
console. It will compile the code first time through, and should then
present the ICE prompt, logged to the "OrbitSim.Orbit_Tests" module.
Enter "quickCheck prop_EnergyConserved" and see if it passes for you!