mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Fixed bug in neighbor searching.
This commit is contained in:
parent
971b2cc8c4
commit
95cfac061d
1 changed files with 3 additions and 1 deletions
|
|
@ -124,7 +124,9 @@ contains
|
|||
! select cells based on whether we are searching a universe or a provided
|
||||
! list of cells (this would be for lists of neighbor cells)
|
||||
if (use_search_cells) then
|
||||
index_cell = search_cells(i)
|
||||
index_cell = search_cells(i)
|
||||
! check to make sure search cell is in same universe
|
||||
if (cells(index_cell) % universe /= p % coord % universe) cycle
|
||||
else
|
||||
index_cell = univ % cells(i)
|
||||
end if
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue