[Swift-devel] Re: passing types and variables in swift

Michael Wilde wilde at mcs.anl.gov
Fri Oct 5 00:27:15 CDT 2007


Nika, can you post or send the moldyn code which you generate to deal 
with a similar problem to this?

I thought you mentioned that it was already online but I cant find it.

Thanks,

- Mike


On 10/4/07 11:53 AM, Ben Clifford wrote:
> 
> On Thu, 4 Oct 2007, Michael Wilde wrote:
> 
>> is one way to do this to 'eval' a file containing swift expressions?
>> Or, to #include them?
>> This would look like a keyword-based value file
>>
>> myparms.rho[0]=0.1 mparms.theta[0]=0.2
>> myparms.rho[1]=0.4 mparms.theta[0]=0.8
>> ...
>> myparms.rho[N-1]=0.etc mparms.theta[etc]=0.etc
>>
>> even if not as clean as extractcsv, it might be both fast and useful for many
>> other purposes.
> 
> you can do that already - generate a swiftscript source file from some 
> other source. nika did something like this (and still does, but to a 
> lesser extent) for moldyn.
> 



More information about the Swift-devel mailing list