123456789101112131415161718192021 |
- /****************************************************************************
- * Parser error 068: TRIGGER and COUNT in the same statement
- *
- * Expect an error on the line:
- * COUNT[m, WORLD] * TRIGGER[m, WORLD]
- *
- * Author: Jed Wing <[email protected]>
- * Date: 2008-04-04
- ****************************************************************************/
- TIME_STEP = 1e-6
- countdir = "dat/invalid-068/"
- DEFINE_MOLECULE m { DIFFUSION_CONSTANT_3D = 1e-6 }
- INSTANTIATE world OBJECT { box1 BOX { CORNERS = [0, 0, 0], [1, 1, 1] } }
- REACTION_DATA_OUTPUT
- {
- {
- COUNT[m, world.box1] * TRIGGER[m, world.box1]
- } => countdir & "counting-1.txt"
- }
|