swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Accessing data outside of Swarm


From: S.Bharwani
Subject: RE: Accessing data outside of Swarm
Date: Thu, 20 Jul 2000 15:49:49 +0100 (BST)


Hi!
  
I am a newbie to Swarm, but have been struggling to find a solution to
this problem for a while.  I am using Swarm 2.1.1 in java under Windows
NT.  

I am writing a java program which provides changing parameters for each
simulation iteration, according to certain rules.  My problem is how to
pass this information into the simulation itself.  I would then like to be
able to feed certain information from the simulation back into my original
program, in order for it to generate new parameters for the next iteration
of the simulation.

However, though I have included this program as a class within the model, 
I have discovered that using java accessor/mutator methods does
not allow access to the variables as they get reset to zero, once passed
from this class into the Swarm model.  I have tried to use the HDF5
library, saving my data in a List, and though the saving works, the values
still get reset to zero.  I think I may be misunderstanding something
fairly obvious, but I would appreciate any help,

thanks from Sukaina 





                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]