mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-25 12:35:29 -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
|
|
@ -287,7 +287,7 @@ void allocate_banks()
|
|||
// Allocate fission bank
|
||||
init_fission_bank(3*simulation::work_per_rank);
|
||||
|
||||
simulation::surf_src_bank.resize(simulation::work_per_rank);
|
||||
init_surf_src_bank(10*simulation::work_per_rank); // TODO: capacity enough?
|
||||
}
|
||||
|
||||
void initialize_batch()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue