mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
increase nubank size from 10 to 15. Some nu values were getting be 10 or 11. Also added an assert to enforce this.
This commit is contained in:
parent
05df1ea803
commit
58d10d6a30
2 changed files with 3 additions and 1 deletions
|
|
@ -329,7 +329,7 @@ public:
|
|||
|
||||
std::vector<std::vector<Position>> tracks_;
|
||||
|
||||
NuBank nu_bank_[10];
|
||||
NuBank nu_bank_[15];
|
||||
};
|
||||
|
||||
} // namespace openmc
|
||||
|
|
|
|||
|
|
@ -169,6 +169,8 @@ create_fission_sites(Particle* p, int i_nuclide, const Reaction* rx,
|
|||
// First, if our bank is full then don't continue
|
||||
if (nu == 0) return;
|
||||
|
||||
assert( nu < 15 );
|
||||
|
||||
// Initialize the counter of delayed neutrons encountered for each delayed
|
||||
// group.
|
||||
double nu_d[MAX_DELAYED_GROUPS] = {0.};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue