File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ def test_convert_to_multigroup_without_particles_batches(run_in_tmpdir):
1616 """Test that convert_to_multigroup works with DAGMC model without
1717 setting particles/batches beforehand."""
1818 openmc .reset_auto_ids ()
19-
19+
2020 mat = openmc .Material (name = "mat" )
2121 mat .add_nuclide ("Fe56" , 1.0 )
2222 mat .set_density ("g/cm3" , 7.0 )
@@ -33,7 +33,7 @@ def test_convert_to_multigroup_without_particles_batches(run_in_tmpdir):
3333 model .settings = openmc .Settings () # Note: no particles or batches set!
3434
3535 model .settings .run_mode = 'fixed source'
36-
36+
3737 # Create a point source
3838 my_source = openmc .IndependentSource ()
3939 my_source .space = openmc .stats .Point ((0.25 , 0.25 , 0.25 ))
@@ -44,7 +44,7 @@ def test_convert_to_multigroup_without_particles_batches(run_in_tmpdir):
4444 # convert_to_multigroup handles initialization internally using non-transport mode
4545 model .convert_to_multigroup (
4646 method = 'material_wise' ,
47- groups = 'CASMO-2' ,
47+ energy_groups = 'CASMO-2' ,
4848 nparticles = 10 ,
4949 overwrite_mgxs_library = True
5050 )
You can’t perform that action at this time.
0 commit comments