mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Merge pull request #926 from lindsayad/pincell_example_924
Remove troublesome mesh_id assignment
This commit is contained in:
commit
e879e922bb
1 changed files with 1 additions and 1 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue