mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 13:15:39 -04:00
Set root universe in find_cell if not set
This commit is contained in:
parent
0bbdd412c9
commit
f86ff8bf1a
1 changed files with 5 additions and 2 deletions
|
|
@ -206,9 +206,12 @@ contains
|
|||
end do
|
||||
j = p % n_coord
|
||||
|
||||
! Determine universe (if not set, use root universe
|
||||
! Determine universe (if not yet set, use root universe)
|
||||
i_universe = p % coord(j) % universe
|
||||
if (i_universe == NONE) i_universe = root_universe
|
||||
if (i_universe == NONE) then
|
||||
p % coord(j) % universe = root_universe
|
||||
i_universe = root_universe
|
||||
end if
|
||||
|
||||
! set size of list to search
|
||||
if (present(search_cells)) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue