null.mdl 615 B

12345678910111213141516
  1. /****************************************************************************
  2. * Null: An exercise in Zen
  3. *
  4. * This elaborate and finely crafted simulation was constructed in response
  5. * to a request by Tom to determine why MCell 3 doing nothing runs more
  6. * slowly than MCell 2 doing nothing, and whether it wasn't perhaps possible
  7. * to improve the situation somewhat. It's probably not an unreasonable
  8. * test case.
  9. *
  10. * Author: Jed Wing <[email protected]>
  11. * Date: 2008-04-04
  12. ****************************************************************************/
  13. ITERATIONS = 10000000
  14. TIME_STEP = 1e-6