Commit graph

9978 commits

Author SHA1 Message Date
Sterling Harper
066f698da7 Add comments to neighbor list code 2018-12-15 15:34:00 -05:00
Shikhar Kumar
b87515b7fb Update output string, kwargs, docstring 2018-12-14 20:33:13 -05:00
Sterling Harper
a8cb86c6b5 Implement linked-list/vector hybrid NeighborList 2018-12-14 12:44:20 -05:00
Shikhar Kumar
1c226a8178 add openmc.checkvalue when importing openmc 2018-12-14 05:31:33 -05:00
Shikhar Kumar
d4cfb81114 Fix test suite, remove cmfd from openmc/__init.py 2018-12-13 17:17:59 -05:00
Andrew Davis
32674887e5 Included missing CAPI wappers and unit tests for test_math.py 2018-12-13 16:51:47 +00:00
Andrew Davis
e1cdd5a5c2 Added unit tests for the Normal & Muir distributions in test_stats.py 2018-12-13 16:38:20 +00:00
Andrew Davis
a13d80e2bd Missing one review comment, and followed style for generic normal distribution from uniform distribuion 2018-12-13 15:37:47 +00:00
Andrew Davis
7a04968845 Addressed P. Romano review comments 2018-12-13 15:10:00 +00:00
Shikhar Kumar
f049f76bb4 Deallocate CMFD arrays in openmc_finalize 2018-12-12 18:13:26 -05:00
Shikhar Kumar
8535a8953a Add __init__.py to new test directories 2018-12-12 14:47:29 -05:00
Shikhar Kumar
a9cc674cbc Use public accessor functions in CMFD test suite 2018-12-12 12:45:20 -05:00
Shikhar Kumar
5c04eb0d3b Update test suite with 2g, ng solvers 2018-12-12 12:20:48 -05:00
Shikhar Kumar
0a43a465d4 Merge remote-tracking branch 'upstream/develop' into cmfd-capi 2018-12-11 18:02:23 -05:00
Shikhar Kumar
2874b4a2f9 Address @paulromano and @smharper comments 2018-12-11 18:00:06 -05:00
Paul Romano
f9b74bd141
Merge pull request #1133 from liangjg/casl_chain
Simplified depletion chain from CASL-ORIGEN
2018-12-11 06:40:16 -06:00
Paul Romano
ca0bcc922e
Merge pull request #1136 from nelsonag/urr_cpp
Convert Unresolved Resonance Range code to C++
2018-12-11 06:30:46 -06:00
Adam G Nelson
3cfd9dff9d Added xtensor read_dataset 2018-12-10 20:01:03 -05:00
Adam G Nelson
af54b60c2e Fixing @paulromano comments 2018-12-07 20:38:24 -05:00
Adam G Nelson
999415be6a removed a todo from physics_mg 2018-12-06 19:40:10 -05:00
Adam G Nelson
d4c8c3d34e completed conversion of Urr to C++ 2018-12-06 19:28:26 -05:00
Paul Romano
f7d8d4033d
Merge pull request #1134 from Shimwell/activation_group_structures
Activation group structures
2018-12-06 08:34:52 -06:00
Adam G Nelson
5eab6dbed0 Got URR working, now just need a few simplifications of the Fortran code 2018-12-05 21:02:59 -05:00
Adam G Nelson
12540cbc5b initial implementation of Urr in C++ 2018-12-05 13:49:04 -05:00
Jonathan Shimwell
109f10e893 changed docstring to include reference labels 2018-12-05 18:18:59 +00:00
Adam Nelson
da750d4e49
Merge pull request #1135 from paulromano/resample-fix
Make sure fission neutron energy is resampled if > max energy
2018-12-05 12:49:45 -05:00
Jonathan Shimwell
f19856c6bc corrected 1e6 MeV error 2018-12-05 16:22:10 +00:00
Paul Romano
cef713b91e Make sure fission neutron energy is resampled if > max energy
Also fix two other bugs, one where openmc.capi.find_material crashes if a
material is void, and one where OpenMC doesn't compile if omp.h is missing (can
happen on macOS).
2018-12-05 08:35:08 -06:00
Jonathan Shimwell
75a499bbea removed 0 as lower energy group 2018-12-05 14:31:36 +00:00
Jonathan Shimwell
15b484f18e added new line at eof 2018-12-04 17:20:43 +00:00
Jonathan Shimwell
44921cb47f added activation energy group strucutures 2018-12-04 17:18:49 +00:00
Jonathan Shimwell
815dc97bad added 4 more group strucutres 2018-12-04 16:21:52 +00:00
liangjg
76ba24d394 updated casl chain and the scripts 2018-12-04 10:44:16 -05:00
Adam Nelson
aaffe35056
Merge pull request #1128 from paulromano/cpp-physics
Move source/fission banks and neutron physics to C++
2018-12-03 19:15:05 -05:00
liangjg
334466d57f added scripts to generate 255-nuclide, simplified depetion chain from CASL-ORIGEN 2018-12-03 16:37:28 -05:00
Paul Romano
e6ba164bc6 Use 0-based i_nuclide in physics.cpp (as suggested by @nelsonag) 2018-12-02 16:31:25 -06:00
Andrew Davis
9946db547c First commit of Muir/Gaussian sampling 2018-11-30 09:03:54 +00:00
Paul Romano
5f90fe3a9d Evaluate neutron xs once per reaction in sample_photon_product 2018-11-28 08:35:52 -06:00
Paul Romano
c44bea2556 Fix index_inelastic_scatter when redundant reactions are present
One example of this is Be9 in JEFF 3.2/3.3 which has MT=875+
2018-11-27 08:17:10 -06:00
Paul Romano
0251dfe834 Fix broken docbuild 2018-11-26 23:01:13 -06:00
Paul Romano
5818ec363e Fix MPI builds 2018-11-26 23:00:44 -06:00
Paul Romano
9fa16bc831 Make sure openmc_load_nuclide still works as intended 2018-11-26 23:00:44 -06:00
Paul Romano
66f61a8011 Make sure settings::micro_xs is set for particle restarts 2018-11-26 23:00:44 -06:00
Paul Romano
b34283ca40 Add bindings for getting multipole attributes of Nuclide 2018-11-26 23:00:44 -06:00
Paul Romano
e8af7a2d16 Convert scattering routines to C++ 2018-11-26 23:00:44 -06:00
Paul Romano
9105cd195b Convert sample_photon_product to C++ 2018-11-26 23:00:44 -06:00
Paul Romano
85b60badc2 Convert sample_secondary_photons to C++ 2018-11-26 23:00:44 -06:00
Paul Romano
b050390309 Convert absorption to C++ 2018-11-26 23:00:44 -06:00
Paul Romano
1f90ec1560 Convert sample_fission and sample_fission_neutron to C++ 2018-11-26 23:00:44 -06:00
Paul Romano
934e26ca53 Move sample_nuclide to C++ 2018-11-26 23:00:44 -06:00