Template:Team:Paris Saclay/simbox

From 2013.igem.org

(Difference between revisions)
Line 320: Line 320:
   }
   }
 +
  for(var j= 0 ; j < reac.inputs.length ; ++j)
 +
  sim.molecules[reac.inputs[j]].quantity -= entier;
 +
  for(var j= 0 ; j < reac.outputs.length ; ++j)
 +
  sim.molecules[reac.outputs[j]].quantity += entier;
  }
  }

Revision as of 00:10, 3 August 2013