mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Use max_surf_banks for surface source bank allocation
This commit is contained in:
parent
ccb20b6b95
commit
74cae60a58
3 changed files with 1 additions and 8 deletions
|
|
@ -289,7 +289,7 @@ void allocate_banks()
|
|||
|
||||
if (settings::surface_source) {
|
||||
// Allocate surface source bank
|
||||
init_surf_src_bank(10*simulation::work_per_rank); // TODO: capacity enough?
|
||||
simulation::surf_src_bank.reserve(settings::max_surf_banks);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue