mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-24 12:05:32 -04:00
Allow objects in addition to ids in Filters
This commit is contained in:
parent
bc4683be1c
commit
98ab232dc1
9 changed files with 686 additions and 548 deletions
|
|
@ -95,7 +95,7 @@ settings_file.export_to_xml()
|
|||
###############################################################################
|
||||
|
||||
# Instantiate some tally Filters
|
||||
cell_filter = openmc.CellFilter(100)
|
||||
cell_filter = openmc.CellFilter(cell2)
|
||||
energy_filter = openmc.EnergyFilter([0., 20.e6])
|
||||
energyout_filter = openmc.EnergyoutFilter([0., 20.e6])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue