Team:BCCS-Bristol/Modeling/HowBSimWorks

From 2009.igem.org

Revision as of 10:38, 9 September 2009 by Sr8243 (Talk | contribs)

BCCS-Bristol
iGEM 2009

How BSim works

How BSim should work

particles.add(
  new Bacterium(position: 0 1 0, radius: 1),
  new Bacterium(position: 0 1 0, radius: 1),
  new Bacterium(position: 0 1 0, radius: 1),
  new Bead(position: 0 1 0),
);

b = new Bacterium()
b.grn(new GRN(dy/dx = -2x; dx/dz = y^2))
particles.add(b);

chemicalFields.add(
  new ChemicalField(chemical: aspartate),
  new ChemicalField(chemical: AHL)
)


boundaries(..)
dt(..)
simulationTime(..)

renderer(new ProcessingRenderer())

exporters.add(
  new FileExporter(),
  new MovieExporter(),
  new ScreenshotExporter()
)

gui()