mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
enabled multigroup tests. Seems to pass them locally, though with a P0 correction warning for some?
This commit is contained in:
parent
747971dffe
commit
b841a6529b
17 changed files with 0 additions and 34 deletions
|
|
@ -82,8 +82,6 @@ class MGXSTestHarness(PyAPITestHarness):
|
|||
os.remove(f)
|
||||
|
||||
|
||||
#import pytest
|
||||
#@pytest.mark.skip(reason="MG not planned for GPU support.")
|
||||
def test_mg_basic():
|
||||
create_library()
|
||||
mat_names = ['base leg', 'base tab', 'base hist', 'base matrix',
|
||||
|
|
|
|||
|
|
@ -119,8 +119,6 @@ class MGXSTestHarness(PyAPITestHarness):
|
|||
os.remove(f)
|
||||
|
||||
|
||||
import pytest
|
||||
@pytest.mark.skip(reason="MG not planned for GPU support.")
|
||||
def test_mg_basic_delayed():
|
||||
create_library()
|
||||
model = slab_mg(num_regions=6, mat_names=['vec beta', 'vec no beta',
|
||||
|
|
|
|||
|
|
@ -193,8 +193,6 @@ class MGXSTestHarness(PyAPITestHarness):
|
|||
self._cleanup()
|
||||
|
||||
|
||||
import pytest
|
||||
@pytest.mark.skip(reason="MG not planned for GPU support.")
|
||||
def test_mg_convert():
|
||||
harness = MGXSTestHarness('statepoint.10.h5')
|
||||
harness.main()
|
||||
|
|
|
|||
|
|
@ -46,8 +46,6 @@ class MGXSTestHarness(PyAPITestHarness):
|
|||
os.remove(f)
|
||||
|
||||
|
||||
import pytest
|
||||
@pytest.mark.skip(reason="MG not planned for GPU support.")
|
||||
def test_mg_legendre():
|
||||
create_library()
|
||||
model = slab_mg()
|
||||
|
|
|
|||
|
|
@ -46,8 +46,6 @@ class MGXSTestHarness(PyAPITestHarness):
|
|||
os.remove(f)
|
||||
|
||||
|
||||
import pytest
|
||||
@pytest.mark.skip(reason="MG not planned for GPU support.")
|
||||
def test_mg_max_order():
|
||||
create_library()
|
||||
model = slab_mg()
|
||||
|
|
|
|||
|
|
@ -46,8 +46,6 @@ class MGXSTestHarness(PyAPITestHarness):
|
|||
os.remove(f)
|
||||
|
||||
|
||||
import pytest
|
||||
@pytest.mark.skip(reason="MG not planned for GPU support.")
|
||||
def test_mg_survival_biasing():
|
||||
create_library()
|
||||
model = slab_mg()
|
||||
|
|
|
|||
|
|
@ -57,8 +57,6 @@ class MGXSTestHarness(PyAPITestHarness):
|
|||
os.remove(f)
|
||||
|
||||
|
||||
import pytest
|
||||
@pytest.mark.skip(reason="MG not planned for GPU support.")
|
||||
def test_mg_tallies():
|
||||
create_library()
|
||||
model = slab_mg()
|
||||
|
|
|
|||
|
|
@ -77,8 +77,6 @@ class MGXSTestHarness(PyAPITestHarness):
|
|||
os.remove(f)
|
||||
|
||||
|
||||
import pytest
|
||||
@pytest.mark.skip(reason="MG not planned for GPU support.")
|
||||
def test_mgxs_library_ce_to_mg():
|
||||
# Set the input set to use the pincell model
|
||||
model = pwr_pin_cell()
|
||||
|
|
|
|||
|
|
@ -77,8 +77,6 @@ class MGXSTestHarness(PyAPITestHarness):
|
|||
os.remove(f)
|
||||
|
||||
|
||||
import pytest
|
||||
@pytest.mark.skip(reason="MG not planned for GPU support.")
|
||||
def test_mgxs_library_ce_to_mg():
|
||||
# Set the input set to use the pincell model
|
||||
model = pwr_pin_cell()
|
||||
|
|
|
|||
|
|
@ -60,8 +60,6 @@ class MGXSTestHarness(PyAPITestHarness):
|
|||
return outstr
|
||||
|
||||
|
||||
import pytest
|
||||
@pytest.mark.skip(reason="MG not planned for GPU support.")
|
||||
def test_mgxs_library_condense():
|
||||
# Use the pincell model
|
||||
model = pwr_pin_cell()
|
||||
|
|
|
|||
|
|
@ -57,8 +57,6 @@ class MGXSTestHarness(PyAPITestHarness):
|
|||
return outstr
|
||||
|
||||
|
||||
import pytest
|
||||
@pytest.mark.skip(reason="MG not planned for GPU support.")
|
||||
def test_mgxs_library_correction():
|
||||
model = pwr_pin_cell()
|
||||
harness = MGXSTestHarness('statepoint.10.h5', model)
|
||||
|
|
|
|||
|
|
@ -64,8 +64,6 @@ class MGXSTestHarness(PyAPITestHarness):
|
|||
return outstr
|
||||
|
||||
|
||||
import pytest
|
||||
@pytest.mark.skip(reason="MG not planned for GPU support.")
|
||||
def test_mgxs_library_distribcell():
|
||||
model = pwr_assembly()
|
||||
harness = MGXSTestHarness('statepoint.10.h5', model)
|
||||
|
|
|
|||
|
|
@ -73,8 +73,6 @@ class MGXSTestHarness(PyAPITestHarness):
|
|||
os.remove(f)
|
||||
|
||||
|
||||
import pytest
|
||||
@pytest.mark.skip(reason="MG not planned for GPU support.")
|
||||
def test_mgxs_library_hdf5():
|
||||
try:
|
||||
np.set_printoptions(formatter={'float_kind': '{:.8e}'.format})
|
||||
|
|
|
|||
|
|
@ -58,8 +58,6 @@ class MGXSTestHarness(PyAPITestHarness):
|
|||
return outstr
|
||||
|
||||
|
||||
import pytest
|
||||
@pytest.mark.skip(reason="MG not planned for GPU support.")
|
||||
def test_mgxs_library_histogram():
|
||||
model = pwr_pin_cell()
|
||||
harness = MGXSTestHarness('statepoint.10.h5', model)
|
||||
|
|
|
|||
|
|
@ -90,8 +90,6 @@ class MGXSTestHarness(PyAPITestHarness):
|
|||
return outstr
|
||||
|
||||
|
||||
import pytest
|
||||
@pytest.mark.skip(reason="MG not planned for GPU support.")
|
||||
def test_mgxs_library_mesh(model):
|
||||
harness = MGXSTestHarness('statepoint.5.h5', model)
|
||||
harness.main()
|
||||
|
|
|
|||
|
|
@ -57,8 +57,6 @@ class MGXSTestHarness(PyAPITestHarness):
|
|||
return outstr
|
||||
|
||||
|
||||
import pytest
|
||||
@pytest.mark.skip(reason="MG not planned for GPU support.")
|
||||
def test_mgxs_library_no_nuclides():
|
||||
model = pwr_pin_cell()
|
||||
harness = MGXSTestHarness('statepoint.10.h5', model)
|
||||
|
|
|
|||
|
|
@ -53,8 +53,6 @@ class MGXSTestHarness(PyAPITestHarness):
|
|||
return outstr
|
||||
|
||||
|
||||
import pytest
|
||||
@pytest.mark.skip(reason="MG not planned for GPU support.")
|
||||
def test_mgxs_library_nuclides():
|
||||
model = pwr_pin_cell()
|
||||
harness = MGXSTestHarness('statepoint.10.h5', model)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue