mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 13:15:39 -04:00
Add a new bank type surf_src_bank for surface source banking
This commit is contained in:
parent
cfed9cda8e
commit
209394082e
3 changed files with 8 additions and 0 deletions
|
|
@ -283,8 +283,11 @@ void allocate_banks()
|
|||
{
|
||||
// Allocate source bank
|
||||
simulation::source_bank.resize(simulation::work_per_rank);
|
||||
|
||||
// Allocate fission bank
|
||||
init_fission_bank(3*simulation::work_per_rank);
|
||||
|
||||
simulation::surf_src_bank.resize(simulation::work_per_rank);
|
||||
}
|
||||
|
||||
void initialize_batch()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue