mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Update examples
This commit is contained in:
parent
57371d217a
commit
7419cd26b3
15 changed files with 639 additions and 554 deletions
|
|
@ -185,8 +185,8 @@ mesh.lower_left = [-0.62992, -0.62992, -1.e50]
|
|||
mesh.upper_right = [0.62992, 0.62992, 1.e50]
|
||||
|
||||
# Instantiate some tally Filters
|
||||
energy_filter = openmc.Filter(type='energy', bins=[0., 4.e-6, 20.])
|
||||
mesh_filter = openmc.Filter()
|
||||
energy_filter = openmc.EnergyFilter([0., 4.e-6, 20.])
|
||||
mesh_filter = openmc.MeshFilter(mesh.id)
|
||||
mesh_filter.mesh = mesh
|
||||
|
||||
# Instantiate the Tally
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue