removed unnecessary include, and reset particles buffer to unique_ptr type.

This commit is contained in:
John Tramm 2020-01-21 20:43:42 +00:00
parent 2142ae9895
commit df0edc33b1

View file

@ -5,7 +5,6 @@
//! \brief Event-based data structures and methods
#include "openmc/particle.h"
#include "openmc/tallies/filter.h"
namespace openmc {
@ -83,7 +82,7 @@ extern int64_t collision_queue_length;
// Particle buffer. This is an allocated pointer rather than a vector as it
// will be shared between threads, so most vector methods would result in
// undefined or unintended behavior.
extern std::vector<Particle[]> particles;
extern std::unique_ptr<Particle[]> particles;
} // namespace simulation