mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Fix extremely large yields from Bremsstrahlung (#3386)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
d0354dbd71
commit
a921280fa9
1 changed files with 1 additions and 1 deletions
|
|
@ -640,7 +640,7 @@ void Material::init_bremsstrahlung()
|
|||
// Allocate arrays for TTB data
|
||||
ttb->pdf = xt::zeros<double>({n_e, n_e});
|
||||
ttb->cdf = xt::zeros<double>({n_e, n_e});
|
||||
ttb->yield = xt::empty<double>({n_e});
|
||||
ttb->yield = xt::zeros<double>({n_e});
|
||||
|
||||
// Allocate temporary arrays
|
||||
xt::xtensor<double, 1> stopping_power_collision({n_e}, 0.0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue