mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Updating DAGMC history reset conditional for clarity.
This commit is contained in:
parent
e6ce90dd78
commit
019316e18d
1 changed files with 1 additions and 1 deletions
|
|
@ -383,7 +383,7 @@ Particle::cross_surface()
|
|||
|
||||
// if we're crossing a CSG surface, make sure the DAG history is reset
|
||||
#ifdef DAGMC
|
||||
if (surf->geom_type_ != GeometryType::DAG) history().reset();
|
||||
if (surf->geom_type_ == GeometryType::CSG) history().reset();
|
||||
#endif
|
||||
|
||||
// Handle any applicable boundary conditions.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue