mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Refactored CSGCell to use Region
This commit is contained in:
parent
9127ff4f5e
commit
06312b0535
5 changed files with 523 additions and 482 deletions
|
|
@ -425,7 +425,7 @@ BoundaryInfo distance_to_boundary(Particle& p)
|
|||
// positive half-space were given in the region specification. Thus, we
|
||||
// have to explicitly check which half-space the particle would be
|
||||
// traveling into if the surface is crossed
|
||||
if (c.simple_) {
|
||||
if (c.is_simple()) {
|
||||
info.surface_index = level_surf_cross;
|
||||
} else {
|
||||
Position r_hit = r + d_surf * u;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue