01-kitchen_sink_viz_ascii_iterframedata.mdl 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /****************************************************************************
  2. * Test 01: Nearly every parser option.
  3. *
  4. * A mostly non-sensical test which simply exercises the parser checking for
  5. * anomalous behavior. This test should not provoke any errors, provided
  6. * that counting-5.txt does not exist in its reaction output directory.
  7. * (This is to test the "no overwrite" output mode for counting.)
  8. *
  9. * This variant produces ASCII mode viz output, specified using the
  10. * ITERATION_FRAME_DATA notation.
  11. *
  12. * Author: Jed Wing <[email protected]>
  13. * Date: 2008-04-04
  14. ****************************************************************************/
  15. basename = "01-kitchen_sink_viz_ascii_iterframedata"
  16. INCLUDE_FILE = "defaults.mdl"
  17. INCLUDE_FILE = "common.mdl"
  18. VIZ_DATA_OUTPUT
  19. {
  20. MODE = ASCII
  21. MOLECULE_FILE_PREFIX = vizdir & "molecules"
  22. ITERATION_FRAME_DATA
  23. {
  24. ALL_DATA = [1]
  25. EFFECTOR_POSITIONS = [[1 TO 100 STEP 10], 102, [101 TO 1000 STEP 100], [1001 TO 10000 STEP 1000]]
  26. EFFECTOR_STATES = [[1 TO 100 STEP 10], 103, [101 TO 1000 STEP 100], [1001 TO 10000 STEP 1000]]
  27. MOLECULE_POSITIONS = [[1 TO 100 STEP 10], 104, [101 TO 1000 STEP 100], [1001 TO 10000 STEP 1000]]
  28. MOLECULE_STATES = [11, 105]
  29. /* Shouldn't the following be an error?
  30. SURFACE_POSITIONS = [1, 2]
  31. SURFACE_STATES = [1, 3]
  32. */
  33. }
  34. STATE_VALUES
  35. {
  36. s_g_5 = 4
  37. s_v_3 = 3
  38. /* Shouldn't the following be an error?
  39. world.big_object.box1[r2] = 9
  40. world.big_object.box1[r3] = 1
  41. world.big_object.box1[r4] = 2
  42. */
  43. }
  44. }