mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Fixing off-by-one error in material/temp indexing when crossing surfaces in DAGMC.
This commit is contained in:
parent
747bde1558
commit
69a77caf1b
1 changed files with 2 additions and 2 deletions
|
|
@ -498,8 +498,8 @@ contains
|
|||
! set new cell value
|
||||
p % coord(1) % cell = i_cell-1 ! decrement for C++ indexing
|
||||
p % cell_instance = 1
|
||||
p % material = cells(i_cell) % material(1)
|
||||
p % sqrtKT = cells(i_cell) % sqrtKT(1)
|
||||
p % material = cells(i_cell) % material(0)
|
||||
p % sqrtKT = cells(i_cell) % sqrtKT(0)
|
||||
return
|
||||
end if
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue