15-overlappingSRs.mdl 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. /***************************************************************************
  2. * Test-15: Surface products placement done on sphere in the presence
  3. * of restrictive regions.
  4. *
  5. * Expected count results: "r4.dat" - positive, "r5.dat" - zeroes
  6. * Note: region "r4" is an intersection of three regions "r1", "r2", "r3"
  7. * region "r5" consists of all walls on the sphere minus region "r4"
  8. *
  9. * Author: Boris Kaminsky <[email protected]>
  10. * Date: 2011-08-31
  11. *
  12. ***************************************************************************/
  13. CENTER_MOLECULES_ON_GRID = TRUE
  14. basename = "15-overlappingSRs"
  15. countdir = "dat/" & basename & "/"
  16. iterations = 100
  17. time_step = 1e-6
  18. ITERATIONS = iterations
  19. TIME_STEP = time_step
  20. VACANCY_SEARCH_DISTANCE = 1
  21. DEFINE_MOLECULES {
  22. A {D_2D = 0}
  23. B {D_2D = 0}
  24. C {D_2D = 0}
  25. D {D_2D = 0}
  26. }
  27. DEFINE_SURFACE_CLASSES{
  28. refl_A{
  29. REFLECTIVE = A;
  30. }
  31. }
  32. DEFINE_REACTIONS
  33. {
  34. A; -> B; + C; + D; [1e5]
  35. }
  36. INCLUDE_FILE = "./overlappingSRs_Icosphere.mdl"
  37. INSTANTIATE World OBJECT {
  38. Icosphere OBJECT Icosphere{}
  39. A_rel RELEASE_SITE {
  40. SHAPE = World.Icosphere[r4]
  41. MOLECULE = A'
  42. NUMBER_TO_RELEASE = 500
  43. }
  44. }
  45. REACTION_DATA_OUTPUT
  46. {
  47. ITERATION_LIST = [[ 90 TO 100 STEP 1]]
  48. HEADER = "# "
  49. {
  50. COUNT ["B;", World.Icosphere[r4]]: "r4_B",
  51. COUNT ["C;", World.Icosphere[r4]]: "r4_C",
  52. COUNT ["D;", World.Icosphere[r4]]: "r4_D"
  53. } => countdir & "r4.dat"
  54. {
  55. COUNT ["B;", World.Icosphere[r5]]: "r5_B",
  56. COUNT ["C;", World.Icosphere[r5]]: "r5_C",
  57. COUNT ["D;", World.Icosphere[r5]]: "r5_D"
  58. } => countdir & "r5.dat"
  59. }
  60. /*
  61. VIZ_OUTPUT {
  62. FILENAME = "./overlappingSRs"
  63. MOLECULES {
  64. NAME_LIST {ALL_MOLECULES}
  65. ITERATION_NUMBERS {ALL_DATA @ ALL_ITERATIONS}
  66. }
  67. MESHES {
  68. NAME_LIST {ALL_MESHES}
  69. ITERATION_NUMBERS {ALL_DATA @ [1]}
  70. }
  71. }
  72. */