mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Fix distribcell index bug
This commit is contained in:
parent
452de390ba
commit
1de49c76e0
1 changed files with 1 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ contains
|
|||
|
||||
if (found) then
|
||||
index = p % coord(p % n_coord) % cell + 1
|
||||
instance = p % cell_instance - 1
|
||||
instance = p % cell_instance
|
||||
err = 0
|
||||
else
|
||||
err = E_GEOMETRY
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue