wbinventor/OpenMOC — Issue #44: Code breaks when running geometry 0
Author: samuelshaner
Created: 2012-02-11 19:00:42+00:00
State: open

Here's the shell output:

>>> ./OpenMOC -g ../xml-sample/0/geometry.xml -m ../xml-sample/0/material.xml -v DEBUG -na 16 -ts .05
[ NORMAL ] Starting OpenMOC...
[ INFO ] Logging level set to DEBUG
[ INFO ] Added material with id = 1 to geometry
[ INFO ] Added material with id = 2 to geometry
[ INFO ] Added surface with id = 1 to geometry
[ INFO ] Added surface with id = 2 to geometry
[ INFO ] Added surface with id = 3 to geometry
[ INFO ] Added surface with id = 4 to geometry
[ INFO ] Added surface with id = 5 to geometry
[ INFO ] Set the surface pointer for cell id = 100 for surface id = 1
[ INFO ] Added cell with id = 100 to geometry
[ INFO ] Added universe with id = 1 to geometry
[ INFO ] Added cell with id = 100 to universe with id = 1
[ INFO ] Set the surface pointer for cell id = 101 for surface id = 1
[ INFO ] Added cell with id = 101 to geometry
[ INFO ] Added cell with id = 101 to universe with id = 1
[ INFO ] Set the surface pointer for cell id = 102 for surface id = 5
[ INFO ] Set the surface pointer for cell id = 102 for surface id = 3
[ INFO ] Set the surface pointer for cell id = 102 for surface id = 2
[ INFO ] Set the surface pointer for cell id = 102 for surface id = 4
[ INFO ] Added cell with id = 102 to geometry
[ INFO ] Added cell with id = 102 to universe with id = 1
[ INFO ] Set the universe pointer for lattice id = 2 for universe id = 1
[ INFO ] Added lattice with id = 2 to geometry
[ INFO ] Added universe with id = 2 to geometry
terminate called after throwing an instance of 'std::out_of_range'
what(): map::at
Abort trap: 6