Allow objects in addition to ids in Filters

This commit is contained in:
Sterling Harper 2017-04-13 17:36:49 -04:00
parent bc4683be1c
commit 98ab232dc1
9 changed files with 686 additions and 548 deletions

View file

@ -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])