Merge pull request #926 from lindsayad/pincell_example_924

Remove troublesome mesh_id assignment
This commit is contained in:
Paul Romano 2017-10-24 12:04:36 -04:00 committed by GitHub
commit e879e922bb

View file

@ -119,7 +119,7 @@ settings_file.export_to_xml()
###############################################################################
# Instantiate a tally mesh
mesh = openmc.Mesh(mesh_id=1)
mesh = openmc.Mesh()
mesh.type = 'regular'
mesh.dimension = [100, 100, 1]
mesh.lower_left = [-0.62992, -0.62992, -1.e50]