mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Switch surf_src_bank from vector to SharedArray
This commit is contained in:
parent
c362ba5ef4
commit
d849014391
4 changed files with 11 additions and 4 deletions
|
|
@ -18,7 +18,7 @@ namespace simulation {
|
|||
|
||||
extern std::vector<Particle::Bank> source_bank;
|
||||
|
||||
extern std::vector<Particle::Bank> surf_src_bank;
|
||||
extern SharedArray<Particle::Bank> surf_src_bank;
|
||||
|
||||
extern SharedArray<Particle::Bank> fission_bank;
|
||||
|
||||
|
|
@ -34,6 +34,8 @@ void sort_fission_bank();
|
|||
|
||||
void free_memory_bank();
|
||||
|
||||
void init_surf_src_bank(int64_t max);
|
||||
|
||||
void init_fission_bank(int64_t max);
|
||||
|
||||
} // namespace openmc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue