07-volvol_crash.mdl 959 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /****************************************************************************
  2. * Regression test 07: Volume-volume reactions result in a crash using the new
  3. * outcome_products.
  4. *
  5. * This is in response to a bug report from Tom.
  6. *
  7. * Failure: MCell crashes
  8. *
  9. * Success: MCell runs successfully
  10. *
  11. * Author: Jed Wing <[email protected]>
  12. * Date: 2008-10-03
  13. ****************************************************************************/
  14. ITERATIONS = 250
  15. TIME_STEP = 1e-6
  16. DEFINE_MOLECULES
  17. {
  18. a { DIFFUSION_CONSTANT_3D = 1e-6 }
  19. b { DIFFUSION_CONSTANT_3D = 1e-6 }
  20. c { DIFFUSION_CONSTANT_3D = 1e-6 }
  21. }
  22. DEFINE_REACTIONS
  23. {
  24. a + b <-> c [>1e6, <1e3]
  25. }
  26. INSTANTIATE world OBJECT
  27. {
  28. b BOX {
  29. CORNERS = [-0.1, -0.1, -0.1], [0.1, 0.1, 0.1]
  30. }
  31. rs_a RELEASE_SITE {
  32. SHAPE = world.b
  33. MOLECULE = a
  34. NUMBER_TO_RELEASE = 1000
  35. }
  36. rs_b RELEASE_SITE {
  37. SHAPE = world.b
  38. MOLECULE = b
  39. NUMBER_TO_RELEASE = 1000
  40. }
  41. }