diff --git a/src/particle.cpp b/src/particle.cpp index 73cdb3dd6a..5c6d0d466a 100644 --- a/src/particle.cpp +++ b/src/particle.cpp @@ -286,7 +286,9 @@ Particle::event_collide() // Score flux derivative accumulators for differential tallies. if (!model::active_tallies.empty()) score_collision_derivative(*this); + #ifdef DAGMC history_.reset(); + #endif } void @@ -502,6 +504,10 @@ Particle::cross_reflective_bc(const Surface& surf, Direction new_u) coord(0).cell = cell_last(n_coord_last() - 1); surface() = -surface(); + #ifdef DAGMC + if (surf->geom_type_ != GeometryType::DAGMC) history_.reset(); + #endif + // If a reflective surface is coincident with a lattice or universe // boundary, it is necessary to redetermine the particle's coordinates in // the lower universes.