diff --git a/include/openmc/cell.h b/include/openmc/cell.h index cc4429b44f..080dac345c 100644 --- a/include/openmc/cell.h +++ b/include/openmc/cell.h @@ -11,7 +11,7 @@ #include "hdf5.h" #include "pugixml.hpp" #ifdef DAGMC -#include "DagMC.hpp" +#include "dagmc.h" #endif #include "openmc/constants.h" diff --git a/src/particle.cpp b/src/particle.cpp index 5364e1d2b4..eef58a490d 100644 --- a/src/particle.cpp +++ b/src/particle.cpp @@ -372,6 +372,12 @@ Particle::transport() } } + #ifdef DAGMC + if(settings::dagmc) { + history.reset(); + } + #endif + // Finish particle track output. if (write_track_) { write_particle_track(*this);