Commit graph

7602 commits

Author SHA1 Message Date
Sterling Harper
2821ce589f Add <create_fission_neutrons> to rng and rnc 2018-01-18 18:04:15 -05:00
Sterling Harper
72e6ecbc1d
Merge pull request #955 from paulromano/xs-improvements
Small optimizations for cross section lookups
2018-01-18 14:30:53 -05:00
Paul Romano
e300c84db5 Replace -ONE with an arbitrary value in named constant CACHE_INVALID 2018-01-17 12:02:01 -06:00
Paul Romano
f74c2fae56 Fix elastic scattering rate tallies 2018-01-15 20:02:03 -06:00
Paul Romano
7d7453b8ff Make sure elastic scattering cross section is precalculated for use in URR 2018-01-15 20:02:00 -06:00
Paul Romano
0cf1f918f5 Put automatic arrays on stack when using gfortran (for multipole performance) 2018-01-15 16:44:18 -06:00
Paul Romano
21585e937c Remove elastic from sum_xs and caches 2018-01-15 16:38:55 -06:00
Paul Romano
df40af793b Minor simplification on multipole branch in calculate_nuclide_xs 2018-01-15 16:19:20 -06:00
Paul Romano
d2d1703e76 Aesthetic changes. Rename sum_xs, rename SUM_XS -> XS constants 2018-01-15 16:19:20 -06:00
Paul Romano
ac29b7c719 Make cross section arrays in sum_xs contiguous 2018-01-15 16:19:20 -06:00
salcedop
b9286c0322
Merge pull request #951 from paulromano/runtime-sched
Allow OMP_SCHEDULE to control schedule of main parallel do loop
2018-01-13 12:03:31 -05:00
Paul Romano
4be5397264
Merge pull request #954 from smharper/multipole_div_by_zero
Cleanup naming and a divide-by-zero for multipole
2018-01-12 07:36:20 -06:00
amandalund
62985f6198 Added cubic spline interpolation/integration; other fixes 2018-01-11 21:43:21 -06:00
Sterling Harper
d5eef5d9f0 Cleanup naming and a divide-by-zero for multipole 2018-01-11 22:19:44 -05:00
Sterling Harper
3236f0de15
Merge pull request #953 from paulromano/test-data
Add unit tests for openmc.data Python package
2018-01-11 13:02:37 -05:00
Paul Romano
4d3da2e5b1 Use itertools.chain in get_thermal_name 2018-01-11 06:22:07 -06:00
Paul Romano
9f7e5e85e7 Improve guessing in openmc.data.get_thermal_name 2018-01-09 06:22:55 -06:00
Paul Romano
39f3ea9327 Build NJOY without shared library 2018-01-09 06:22:55 -06:00
Paul Romano
530f33907b Raise CalledProcessError when NJOY fails. Py2 fix in laboratory.py 2018-01-09 06:22:55 -06:00
Paul Romano
6996bbde5c Improve coverage of openmc.data (decay, neutron, miscellaneous) 2018-01-09 06:22:55 -06:00
Paul Romano
2e5bfecdaf Add tests for openmc.data.thermal 2018-01-09 06:22:55 -06:00
Paul Romano
e94dd55b31 More unit tests for openmc.data and a few small fixes 2018-01-09 06:22:55 -06:00
Paul Romano
4e9ee6c2e2 Start adding unit tests for openmc.data 2018-01-09 06:22:55 -06:00
Paul Romano
f455ede482 Remove check_source Travis configuration, make other simplifications 2018-01-09 06:22:55 -06:00
Paul Romano
64ca0b752f Try installing NJOY on Travis, separate things into scripts 2018-01-09 06:22:55 -06:00
Adam Nelson
455efffdbf
Merge pull request #950 from paulromano/release-0.10
Final updates for next release
2018-01-08 16:39:36 -05:00
Paul Romano
a859b734ea Allow OMP_SCHEDULE to control schedule of main parallel do loop 2018-01-08 13:01:32 -06:00
Paul Romano
59b15fe0be Address a few @nelsonag comments in review 2018-01-08 08:34:57 -06:00
Paul Romano
ec0604b354 Update C API documentation and include file 2018-01-08 08:04:57 -06:00
Paul Romano
e28f16eefd Happy new year 2018! 2018-01-01 15:19:51 -06:00
Paul Romano
7e19b82f93 Update C API documentation 2017-12-29 17:20:02 -06:00
Paul Romano
6b48fe9f6b Use sphinx.ext.imgconverter for converting SVG images for PDF doc builds 2017-12-29 15:10:55 -06:00
Paul Romano
98b2bcb275 Various fixes/updates in documentation 2017-12-29 14:19:18 -06:00
Paul Romano
8f95199fa1 Update release notes, release version, fix doc build bug 2017-12-29 14:19:15 -06:00
Paul Romano
93746953cc
Merge pull request #941 from brbass/energy_bins
Fix energy bin sampling in source
2017-12-29 14:14:18 -06:00
Adam Nelson
2d7cccaa27
Merge pull request #949 from paulromano/tally-optimizations
Optimizations to improve performance for reaction rate tallies
2017-12-27 06:34:21 -05:00
Adam Nelson
6a16da00d2
Merge pull request #948 from paulromano/source-norm
Fix source normalization for fixed-source simulations
2017-12-26 15:27:49 -05:00
Paul Romano
a793b9a087 Don't calculate depletion reaction cross sections unless tallies need them 2017-12-23 16:02:48 +07:00
Paul Romano
ae2d872143 Simplify depletion xs cache by making it an array in NuclideMicroXS 2017-12-23 13:11:17 +07:00
Paul Romano
e137187510 Don't cache macroscopic cross sections for depletion reactions 2017-12-23 12:53:54 +07:00
Paul Romano
26eedca662 Revert to reaction_index name 2017-12-22 21:48:45 +07:00
Paul Romano
12ce15978d Fix repr bug in plots.py 2017-12-22 21:48:45 +07:00
Paul Romano
1a5ebc7aab Don't pre-calculate depletion reactions during inactive batches 2017-12-22 21:48:42 +07:00
Paul Romano
9ff4e620b6 Improvements to depletion reaction caching 2017-12-22 21:22:26 +07:00
Jose Salcedo Perez
f774c29254 Cache cross sections for depletion-related reactions (ngamma, n2n, etc.) 2017-12-22 14:04:59 +07:00
Paul Romano
aa5d093a59 Remove unused components of the Material derived type 2017-12-22 13:40:24 +07:00
Paul Romano
b10b7204b2 Create mat_nuclide_index as part of simulation_init 2017-12-22 13:37:15 +07:00
Paul Romano
fe19b9b6dd Make rxn_index_MT allocated as part of Nuclide type 2017-12-22 13:18:57 +07:00
Jose Salcedo Perez
29a8737b25 Use direct address table for reactions in nuclides 2017-12-22 13:18:57 +07:00
Paul Romano
4e40788128 Fix up material nuclide mapping 2017-12-22 13:18:54 +07:00