mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Updated to get significantly higher tets passage rate. Still have more work to do in a few key areas.
This commit is contained in:
parent
6a44a68975
commit
cd95667292
94 changed files with 385 additions and 314 deletions
|
|
@ -13,9 +13,9 @@ import openmc
|
|||
|
||||
class SourceTestHarness(PyAPITestHarness):
|
||||
def _build_inputs(self):
|
||||
mat1 = openmc.Material(material_id=1)
|
||||
mat1 = openmc.Material(material_id=1, temperature='294K')
|
||||
mat1.set_density('g/cm3', 4.5)
|
||||
mat1.add_nuclide(openmc.Nuclide('U235', '71c'), 1.0)
|
||||
mat1.add_nuclide(openmc.Nuclide('U235'), 1.0)
|
||||
materials = openmc.Materials([mat1])
|
||||
materials.export_to_xml()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue