swarm-support
[Top][All Lists]
Advanced

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

Problem with .scm file


From: Marian Mihalo
Subject: Problem with .scm file
Date: Fri, 6 Apr 2001 16:15:59 +0200

Hello, I have a little problem with .scm file...
I use Swarm 2.1.1, Objective C....


I had a scm file:

(list
 (cons 'batchSwarm
       (make-instance 'BatchSwarm
                      #:loggingFrequency 1))
 (cons 'modelSwarm
       (make-instance 'ModelSwarm
                      #:withOrWithoutAs 1
                      #:timeForAs 0
                      #:worldXSize 200
                      #:worldYSize 200
                      #:mineral_gl 7
                      #:as_gl 5
                      #:diffusion 0.1
                      #:numberOfAlgae 40))
 (cons 'observerSwarm
       (make-instance 'ObserverSwarm
                      #:displayFrequency 1
                      #:zoomFactor 1
        #:drawMineralGraf 1
        #:drawAsGraf 1
        #:drawAlgaeGraf_gl 1
        #:drawAlgaeGraf_num 1
                      #:drawAvgLifeTime_num 1
        #:drawMetabGraf 1
        #:drawMineralWorld 1
        #:drawAsWorld 1
        #:drawMetabWorld 1)))

When I overwrite "numberOfAlgae 40" with "Algae 0.1" in bug.scm, (I don't
need numberOfAlgae in my simulation), after starting of my simulation, in
probemap in ModelSwarm is absurd value...In ModelSwarm.m I have: obj->Algae
= 0.1, in bug.scm I have Algae 0.1, but in probeMap I have -1.23...e-23...

WHY????

Thanks for help

Marian


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.240 / Virus Database: 116 - Release Date: 23.3.2001


                  ==================================
   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]