invalid-048.mdl 515 B

12345678910111213141516171819202122
  1. /****************************************************************************
  2. * Parser error 048: Reaction rate is an array variable
  3. *
  4. * Expect an error on the line:
  5. * vm + vm -> vm + vm [arr]
  6. *
  7. * Author: Jed Wing <[email protected]>
  8. * Date: 2008-04-04
  9. ****************************************************************************/
  10. TIME_STEP = 1e-6
  11. ITERATIONS = 1
  12. rr = 1e6
  13. arr = [1, 2, 3]
  14. DEFINE_MOLECULE vm { DIFFUSION_CONSTANT_3D = 1.0 }
  15. DEFINE_REACTIONS
  16. {
  17. vm + vm -> vm + vm [arr]
  18. }