mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 21:25:36 -04:00
Revert to regular LNS for sublattices if neighbor rotation is not present in sub lattice
This commit is contained in:
parent
4754d7fd40
commit
6e4e69075b
1 changed files with 6 additions and 0 deletions
|
|
@ -1018,6 +1018,12 @@ class RectLattice(Lattice):
|
|||
pattern[2][0], pattern[2][1], pattern[2][2]]
|
||||
elif strategy == "degenerate":
|
||||
sub_neighbors = []
|
||||
|
||||
# Revert to regular LNS if neighbor rotations are not
|
||||
# present in the sub_universe (sub-lattice)
|
||||
if not rotate_universe_with_neighbors:
|
||||
sub_neighbors = []
|
||||
|
||||
sub_universe.discretize(strategy,
|
||||
rotate_universe_with_neighbors,
|
||||
universes_to_ignore,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue