18-uninstantiated_reference_crash_2.mdl 713 B

123456789101112131415161718192021222324252627
  1. /****************************************************************************
  2. * Regression test 18: VIZ_OUTPUT can reference an uninstantiated object,
  3. * leading to a crash.
  4. *
  5. * Failure: crash (INTERNAL ERROR or seg fault)
  6. * Success: run exits with normal failure code
  7. *
  8. * Author: Jed Wing <[email protected]>
  9. * Date: 2009-07-17
  10. ****************************************************************************/
  11. TIME_STEP = 1e-6
  12. ITERATIONS = 1
  13. DEFINE_MOLECULE a { DIFFUSION_CONSTANT_3D = 2e-6 }
  14. uninstantiated BOX {
  15. CORNERS = [0, 0, 0], [1, 1, 1]
  16. }
  17. VIZ_OUTPUT {
  18. FILENAME = "20090717-bug-viz"
  19. MESHES {
  20. NAME_LIST {uninstantiated}
  21. ITERATION_NUMBERS { ALL_DATA @ [0] }
  22. }
  23. }