mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 21:25:36 -04:00
Merge pull request #1746 from paulromano/wmp-performance-opt
Performance optimizations for windowed multipole
This commit is contained in:
commit
c262407af5
7 changed files with 122 additions and 111 deletions
|
|
@ -973,7 +973,7 @@ sample_cxs_target_velocity(double awr, double E, Direction u, double kT, uint64_
|
|||
|
||||
if (prn(seed) < alpha) {
|
||||
// With probability alpha, we sample the distribution p(y) =
|
||||
// y*e^(-y). This can be done with sampling scheme C45 frmo the Monte
|
||||
// y*e^(-y). This can be done with sampling scheme C45 from the Monte
|
||||
// Carlo sampler
|
||||
|
||||
beta_vt_sq = -std::log(r1*r2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue