mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Moving import and adding comment to test.
This commit is contained in:
parent
82719c0fde
commit
f5f087ef07
1 changed files with 3 additions and 3 deletions
|
|
@ -1,11 +1,11 @@
|
|||
from numpy.testing import assert_array_almost_equal
|
||||
import openmc
|
||||
import openmc.model
|
||||
import pytest
|
||||
|
||||
from numpy.testing import assert_array_almost_equal
|
||||
|
||||
from tests.testing_harness import PyAPITestHarness
|
||||
|
||||
|
||||
class CellInstanceFilterTest(PyAPITestHarness):
|
||||
|
||||
def _compare_results(self):
|
||||
|
|
@ -41,7 +41,7 @@ def model():
|
|||
cyl1 = openmc.ZCylinder(r=0.7)
|
||||
c1 = openmc.Cell(fill=m1, region=-cyl1)
|
||||
c2 = openmc.Cell(fill=m2, region=+cyl1)
|
||||
# intermediate universe
|
||||
# intermediate universe containing only cell 2
|
||||
u1 = openmc.Universe(cells=[c2])
|
||||
c3 = openmc.Cell(fill=u1)
|
||||
u2 = openmc.Universe(cells=[c1, c3])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue