Template:Team:Paris Saclay/simbox

From 2013.igem.org

(Difference between revisions)
Line 401: Line 401:
   var tstart= Math.floor(sim.draw_min_t/sim.timestep);
   var tstart= Math.floor(sim.draw_min_t/sim.timestep);
   var tend= Math.ceil(sim.draw_max_t/sim.timestep);
   var tend= Math.ceil(sim.draw_max_t/sim.timestep);
-
  alert('tend='+sim.draw_max_t+'/'+sim.timestep);
 
   if(tstart > dta.length)
   if(tstart > dta.length)
     tstart= dta.length;
     tstart= dta.length;
   if(tend > dta.length)
   if(tend > dta.length)
     tend= dta.length;
     tend= dta.length;
-
 
-
  alert('t1= ' + tstart + ' t2='+ tend);
 
   for(var ti= tstart ; ti < tend ; ++ti)
   for(var ti= tstart ; ti < tend ; ++ti)

Revision as of 01:30, 3 August 2013