mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
Simply MeshFilter.__init__
This commit is contained in:
parent
e464e22690
commit
52c9898128
19 changed files with 209 additions and 183 deletions
|
|
@ -162,8 +162,7 @@ mesh.lower_left = [-2, -2]
|
|||
mesh.width = [1, 1]
|
||||
|
||||
# Instantiate tally Filter
|
||||
mesh_filter = openmc.MeshFilter(mesh.id)
|
||||
mesh_filter.mesh = mesh
|
||||
mesh_filter = openmc.MeshFilter(mesh)
|
||||
|
||||
# Instantiate the Tally
|
||||
tally = openmc.Tally(tally_id=1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue