-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGrow-colonies.cece
26 lines (22 loc) · 980 Bytes
/
Grow-colonies.cece
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!-- Simulation definition -->
<simulation world-size="300um 300um" dt="60s" iterations="10000">
<plugin name="cell" />
<plugin name="python" />
<!-- Specify yeast cell growth rate -->
<object class="cell.Yeast" growth-rate="0.0001/s" volume="10um3" position="30um 0" volume-max="80um3">
<molecule name="GFP" amount="100000" />
</object>
<object class="cell.Yeast" growth-rate="0.0001/s" volume="10um3" position="-30um 0" volume-max="80um3" >
<molecule name="RFP" amount="100000"/>
</object>
<!-- Prints information about simulation -->
<module name="printSimulation" language="python">
<![CDATA[
def update(dt, simulation):
print "Iteration:", simulation.iteration, "/", simulation.iterations
print "Object count:", simulation.objectCount
print "Size: [", simulation.worldSize.width, ",", simulation.worldSize.height, "]"
]]>
</module>
</simulation>