10-counting_crashes_on_coincident_wall.mdl 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. /****************************************************************************
  2. * Regression test 10: Counting crashes if a transparent wall is very very
  3. * nearly coincident with a partition boundary.
  4. *
  5. * Failure: Crash and burn, in that order.
  6. * Success: Run completes successfully.
  7. *
  8. * Author: Jed Wing <[email protected]>
  9. * Date: 2009-02-13
  10. ****************************************************************************/
  11. ITERATIONS = 100
  12. TIME_STEP = 1e-6
  13. PARTITION_X = [-1, 0, 1]
  14. PARTITION_Y = [-1, 0, 1]
  15. PARTITION_Z = [-1, 0, 1]
  16. DEFINE_MOLECULE a { DIFFUSION_CONSTANT_3D = 6e-6 }
  17. DEFINE_SURFACE_CLASS trans { TRANSPARENT = a; }
  18. INSTANTIATE world OBJECT {
  19. cracker POLYGON_LIST {
  20. VERTEX_LIST {
  21. // DO NOT CHANGE THE MAGIC NUMBER
  22. [3.0519440883836279e-6, -1, -1]
  23. [3.0519440883836280e-6, -1, 1]
  24. [3.0519440883836280e-6, 1, -1]
  25. [3.0519440883836281e-6, 1, 1]
  26. }
  27. ELEMENT_CONNECTIONS {
  28. [0, 3, 2]
  29. [3, 0, 1]
  30. }
  31. DEFINE_SURFACE_REGIONS {
  32. all {
  33. INCLUDE_ELEMENTS = [ ALL_ELEMENTS ]
  34. SURFACE_CLASS = trans
  35. }
  36. }
  37. }
  38. boxy BOX {
  39. CORNERS = [-0.002, -0.002, -0.002], [0.002, 0.002, 0.002]
  40. }
  41. rs RELEASE_SITE {
  42. SHAPE = SPHERICAL
  43. LOCATION = [0, 0, 0.001]
  44. SITE_RADIUS = 0
  45. NUMBER_TO_RELEASE = 20
  46. MOLECULE = a
  47. }
  48. }
  49. REACTION_DATA_OUTPUT {
  50. OUTPUT_BUFFER_SIZE = 100
  51. STEP = 1e-6
  52. {COUNT[a,world.cracker,ALL_HITS]} => "poly_w_cracker.txt"
  53. }