mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Updating test to add check for 'void' in material name.
This commit is contained in:
parent
6e9a78c431
commit
ec59d02300
3 changed files with 2 additions and 2 deletions
Binary file not shown.
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<materials>
|
||||
<material depletable="true" id="40" name="fuel">
|
||||
<material depletable="true" id="40" name="no-void fuel">
|
||||
<density units="g/cc" value="11" />
|
||||
<nuclide ao="1.0" name="U235" />
|
||||
</material>
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ class DAGMCLegacyTest(PyAPITestHarness):
|
|||
model.tallies = [tally]
|
||||
|
||||
# materials
|
||||
u235 = openmc.Material(name="fuel")
|
||||
u235 = openmc.Material(name="no-void fuel")
|
||||
u235.add_nuclide('U235', 1.0, 'ao')
|
||||
u235.set_density('g/cc', 11)
|
||||
u235.id = 40
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue