23-walls_overlap_two_objects.mdl 879 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /*************************************************************************
  2. * Regression test 23: Walls of the two objects are overlapped.
  3. * In fact two walls (0 and 1) of the "small_box" are
  4. * completely inside the wall 3 of the "box".
  5. *
  6. * Failure: no errors
  7. * Success: run exits with a failure code and prints a message
  8. *
  9. * Author: Boris Kaminsky <[email protected]>
  10. * Date: 2011-05-20
  11. **************************************************************************/
  12. dt = 1e-6
  13. TIME_STEP = dt
  14. TIME_STEP_MAX = dt
  15. ITERATIONS = 1
  16. EFFECTOR_GRID_DENSITY = 10000
  17. VACANCY_SEARCH_DISTANCE = 1
  18. box BOX
  19. {
  20. CORNERS = [-0.1,-0.1,-0.1] , [0.1,0.1,0.1]
  21. }
  22. small_box BOX
  23. {
  24. CORNERS = [-0.01,-0.01,-0.01] , [0.01,0.01,0.01]
  25. }
  26. INSTANTIATE world OBJECT
  27. {
  28. box OBJECT box {}
  29. small_box OBJECT small_box {TRANSLATE = [0.11, 0.07, 0]}
  30. }