mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Fix problem with corner-crossing. Closes #116 on github.
This commit is contained in:
parent
3e03bd3070
commit
6a3a5ef5a2
1 changed files with 4 additions and 0 deletions
|
|
@ -182,6 +182,10 @@ contains
|
|||
p % coord => p % coord0
|
||||
call deallocate_coord(p % coord % next)
|
||||
|
||||
! Reset surface and advance particle a tiny bit
|
||||
p % surface = NONE
|
||||
p % coord % xyz = xyz
|
||||
|
||||
else
|
||||
|
||||
! Create new level of coordinates
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue