mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Fixed plots to work with reflective boundary conditions.
This commit is contained in:
parent
49be76f43f
commit
971b2cc8c4
1 changed files with 1 additions and 1 deletions
|
|
@ -170,7 +170,7 @@ contains
|
|||
|
||||
! Since boundary conditions are disabled in plotting mode, we need
|
||||
! to manually add the last segment
|
||||
if (surfaces(abs(surface_crossed)) % bc == BC_VACUUM) then
|
||||
if (surfaces(abs(surface_crossed)) % bc /= BC_TRANSMIT) then
|
||||
p % coord0 % xyz(1) = last_x_coord
|
||||
write(UNIT=UNIT_PLOT) p % coord0 % xyz, 0
|
||||
exit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue