invalid-063.mdl 709 B

12345678910111213141516171819202122232425262728
  1. /****************************************************************************
  2. * Parser error 063: Attempt to define a region on a non-polygonal object.
  3. *
  4. * Expect an error on the line:
  5. * rs1[potato] = { INCLUDE_ELEMENTS = ALL_ELEMENTS }
  6. *
  7. * Author: Jed Wing <[email protected]>
  8. * Date: 2008-04-04
  9. ****************************************************************************/
  10. TIME_STEP = 1e-6
  11. DEFINE_MOLECULE m { DIFFUSION_CONSTANT_3D = 0.0 }
  12. rs1 RELEASE_SITE
  13. {
  14. SHAPE = SPHERICAL
  15. LOCATION = [0.1, 0.1, 0.1]
  16. MOLECULE = m
  17. NUMBER_TO_RELEASE = 1000
  18. SITE_RADIUS = 1e9
  19. RELEASE_PROBABILITY = 1.0
  20. }
  21. DEFINE_SURFACE_REGIONS
  22. {
  23. rs1[potato] = { INCLUDE_ELEMENTS = ALL_ELEMENTS }
  24. }