invalid-086.mdl 880 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /***********************************************************************
  2. * Parser error 086: Multiple SURFACE_CLASS statements inside
  3. * DEFINE_SURFACE_REGION definition
  4. *
  5. * Expect an error on the line 39:
  6. * ATTENTION: region definition allows only one SURFACE_CLASS statement
  7. *
  8. *
  9. * Author: Boris Kaminsky <[email protected]>
  10. * Date: 2011-09-02
  11. ************************************************************************/
  12. TIME_STEP = 1e-6
  13. ITERATIONS = 1
  14. TIME_STE_MAX = 1e-6
  15. DEFINE_MOLECULES
  16. {
  17. A {DIFFUSION_CONSTANT_2D = 2e-4}
  18. B {DIFFUSION_CONSTANT_2D = 2e-4}
  19. }
  20. DEFINE_SURFACE_CLASS A_refl
  21. {
  22. REFLECTIVE = A;
  23. }
  24. DEFINE_SURFACE_CLASS B_refl
  25. {
  26. REFLECTIVE = B;
  27. }
  28. box BOX
  29. {
  30. CORNERS = [-0.1, -0.1, -0.1], [0.1,0.1,0.1]
  31. DEFINE_SURFACE_REGIONS
  32. {
  33. r1{
  34. ELEMENT_LIST = [TOP]
  35. SURFACE_CLASS = A_refl
  36. SURFACE_CLASS = B_refl
  37. }
  38. }
  39. }