Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bam241 committed Nov 11, 2024
1 parent 4297bc7 commit 0b7411e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit_tests/dagmc/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def test_model_differentiate_with_DAGMC():
mat_vol = openmc.VolumeCalculation(mat_list, 1000000, ll, ur)
cell_vol = openmc.VolumeCalculation(list(root.cells.values()), 1000000, ll, ur)
model.settings.volume_calculations = [mat_vol, cell_vol]
model.init_lib()
model.init_lib()i # need to reinitialize the lib after differentiating the materials
model.calculate_volumes(cwd=p)
volume_after = np.sum([m.volume for m in model.materials if "fuel" in m.name])
assert np.isclose(volume_before, volume_after)
Expand Down

0 comments on commit 0b7411e

Please sign in to comment.