mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
removed unnecessary include, and reset particles buffer to unique_ptr type.
This commit is contained in:
parent
2142ae9895
commit
df0edc33b1
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue