Patrick Shriwise
f69149b66a
Merge pull request #1844 from paulromano/surface-tally-bug
...
Disallow non-current scores with a surface filter
2021-06-08 16:01:12 -05:00
Patrick Shriwise
4abfbead4f
Removing extra layer of inheritance for the UnstructuredMesh::surface_bins_crossed method. Correcting some formatting and spelling too.
2021-06-04 21:38:14 -05:00
Paul Romano
c6d2376bb0
Disallow non-current scores with a surface filter
2021-06-01 23:39:57 -05:00
Paul Romano
f1173e82c1
Address @jtramm comments
2021-05-13 07:18:46 -05:00
Paul Romano
43804fc09d
Merge branch 'develop' into rng-stream-changes
2021-05-11 16:53:10 -05:00
Gavin Ridley
a4b879ae11
additional documentation, make name changes more consistent
2021-05-08 18:51:49 -04:00
Gavin Ridley
50d0430496
std::make_unique -> make_unique
2021-05-04 15:55:08 -04:00
Gavin Ridley
898165b720
small additional fix after rebase
2021-05-03 18:10:03 -04:00
Gavin Ridley
061156e79a
address PR comments
2021-05-03 18:03:06 -04:00
Gavin Ridley
f0e1110e01
somehow changes to lattice methods were lost
2021-05-03 18:03:05 -04:00
Gavin Ridley
41ef034a0b
move LocalCoord impl to right file
2021-05-03 18:02:28 -04:00
Gavin Ridley
959bec57ae
ensure we allocate differential tally space up front in event mode
2021-05-03 18:02:28 -04:00
Gavin Ridley
af6d182440
use accessors for dagmc variables
2021-05-03 18:01:29 -04:00
Gavin Ridley
ad4e1c9f4a
remove std:: from vector,unique_ptr,make_unique,array
2021-05-03 18:01:27 -04:00
Gavin Ridley
2af4c9cd92
use base class to handle layout of particle data
2021-05-03 17:57:41 -04:00
Gavin Ridley
5cf8482d9a
have collision filter use particle accessors
2021-05-03 17:57:00 -04:00
Gavin Ridley
d5d2072266
change particle to using accessor methods
2021-05-03 17:56:57 -04:00
Gavin Ridley
711c60ea15
cherry pick fixes
2021-05-03 17:53:03 -04:00
Paul Romano
1e1bfb40f1
Add uniform_distribution function for clarity
2021-05-03 09:43:09 -05:00
Paul Romano
f0aaac4601
Move distributions into random_dist.h/cpp
2021-05-03 09:43:09 -05:00
John Tramm
516745ce87
Switch pseudorandom number generator to the PCG generator.
2021-05-03 09:43:09 -05:00
Paul Romano
e0e5936b79
Remove separate RNG stream for photons
2021-05-03 09:43:09 -05:00
Paul Romano
8a07feebcb
Sample isotropic direction consistently
2021-05-03 09:43:09 -05:00
Paul Romano
f8241f567f
Change indexing for prn sampling for URR ptables
2021-05-03 09:43:09 -05:00
Paul Romano
de2cbe0c1e
Change convention on rotate_angle originally suggested by @smharper
2021-05-03 09:43:09 -05:00
Paul Romano
fd40a874cc
Remove unnecessary sampling in angle-energy distributions
2021-05-03 09:43:09 -05:00
Paul Romano
6ea0c71386
Simplify sample_fission_neutron
2021-05-03 09:43:09 -05:00
Paul Romano
7ef73f048d
Remove special treatment of mu for fission
2021-05-03 09:43:09 -05:00
Patrick Shriwise
4399645859
Merge pull request #1828 from paulromano/two-bug-fixes
...
Two small bug fixes (fixed source nu-fission tally, stochastic volume calc)
2021-04-30 10:15:00 -05:00
John Tramm
c8944a8b4f
Merge pull request #1830 from gridley/fix_1827
...
make sure failed neighbor list searches trigger exhaustive searches
2021-04-30 10:10:58 -05:00
Gavin Ridley
1155796253
if unable to find cell, get helpful error message rather than segfault
2021-04-29 13:26:08 -04:00
Gavin Ridley
70cb1110e9
make sure failed neighbor list searches trigger exhaustive searches
2021-04-28 18:10:02 -04:00
Paul Romano
59448ec734
Fix for stochastic volume calculation
2021-04-28 08:03:50 -05:00
Paul Romano
6650dcf833
Use nu_bank_ for fixed source mode too
...
Right now, if an outgoing energy filter is used with a nu-fission score in fixed
source mode, OpenMC will segfault because it tries to pull information on
fission sites from nu_bank_, which is not currently populated.
2021-04-28 08:02:47 -05:00
Patrick Shriwise
52e005b3aa
Using accessor method in MeshFilter::get_all_bins.
2021-04-28 00:24:10 -05:00
Patrick Shriwise
73aef414ca
Updating variable names of the methods.
2021-04-28 00:24:10 -05:00
Patrick Shriwise
56362eceb9
Updating error messages and filter labels for mesh filters.
2021-04-28 00:24:10 -05:00
Patrick Shriwise
41a7f5453e
Apply suggestions from @paulromano
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2021-04-28 00:24:10 -05:00
Patrick Shriwise
7eeb9ffa89
Re-adding commented normalization.
2021-04-28 00:24:10 -05:00
Patrick Shriwise
704c4590a0
Correcting name of the MOAB class.
2021-04-28 00:24:10 -05:00
Patrick Shriwise
0488f58941
Exposing translation getting/setting through CAPI
2021-04-28 00:24:10 -05:00
Patrick Shriwise
711d9267bd
Applying translation for mesh surface filters.
2021-04-28 00:24:10 -05:00
Patrick Shriwise
08e4b43d94
Fix typo in docstring.
2021-04-28 00:24:10 -05:00
Patrick Shriwise
0486d006ce
Updating label, creation, and statepoint methods for the mesh filter.
2021-04-28 00:24:10 -05:00
Patrick Shriwise
f48f6c6ab8
Condensing filter translation into single commit.
2021-04-28 00:24:10 -05:00
Gavin Ridley
e64a15d6b1
fix typo in fmt string for a lattice error
2021-04-26 17:14:18 -04:00
Hunter Belanger
c07ab57317
Applied a clang-format
2021-04-26 17:46:08 +02:00
Hunter Belanger
59db5f1260
Fixes bug in sampling angle for CorrelatedAngleEnergy
2021-04-26 17:46:08 +02:00
Paul Romano
261557e596
Fix translational periodic BCs for general planes
2021-04-21 07:14:50 -05:00
Paul Romano
e584b9c918
Prevent divide-by-zero in bins_crossed methods
2021-04-14 09:27:08 -05:00