1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- /****************************************************************************
- * Test 01: Nearly every parser option.
- *
- * A mostly non-sensical test which simply exercises the parser checking for
- * anomalous behavior. This test should not provoke any errors, provided
- * that counting-5.txt does not exist in its reaction output directory.
- * (This is to test the "no overwrite" output mode for counting.)
- *
- * This variant produces ASCII mode viz output, specified using the
- * ITERATION_FRAME_DATA notation.
- *
- * Author: Jed Wing <[email protected]>
- * Date: 2008-04-04
- ****************************************************************************/
- basename = "01-kitchen_sink_viz_ascii_iterframedata"
- INCLUDE_FILE = "defaults.mdl"
- INCLUDE_FILE = "common.mdl"
- VIZ_DATA_OUTPUT
- {
- MODE = ASCII
- MOLECULE_FILE_PREFIX = vizdir & "molecules"
- ITERATION_FRAME_DATA
- {
- ALL_DATA = [1]
- EFFECTOR_POSITIONS = [[1 TO 100 STEP 10], 102, [101 TO 1000 STEP 100], [1001 TO 10000 STEP 1000]]
- EFFECTOR_STATES = [[1 TO 100 STEP 10], 103, [101 TO 1000 STEP 100], [1001 TO 10000 STEP 1000]]
- MOLECULE_POSITIONS = [[1 TO 100 STEP 10], 104, [101 TO 1000 STEP 100], [1001 TO 10000 STEP 1000]]
- MOLECULE_STATES = [11, 105]
- /* Shouldn't the following be an error?
- SURFACE_POSITIONS = [1, 2]
- SURFACE_STATES = [1, 3]
- */
- }
- STATE_VALUES
- {
- s_g_5 = 4
- s_v_3 = 3
- /* Shouldn't the following be an error?
- world.big_object.box1[r2] = 9
- world.big_object.box1[r3] = 1
- world.big_object.box1[r4] = 2
- */
- }
- }
|