Commit graph

9978 commits

Author SHA1 Message Date
Sterling Harper
8b61bc1a77 Respond to @paulromano comments on #1162 2019-02-12 17:10:25 -05:00
Sterling Harper
558259e4a0 Write tally info to statepoint from C++ 2019-02-12 16:29:27 -05:00
Sterling Harper
b350e7dcd6 Move tally filter IDs to C++ 2019-02-12 13:14:39 -05:00
Paul Romano
bd2d96568b A little more cleanup of volume calculations 2019-02-12 12:03:27 -06:00
Paul Romano
9bce2c357b Remove unused Fortran code 2019-02-12 12:03:27 -06:00
Paul Romano
68e65ce2d1 Translate volume calculations to C++ 2019-02-12 12:03:27 -06:00
Sterling Harper
08e50977f0 Merge remote-tracking branch 'upstream/develop' into cpp_tallies 2019-02-12 12:35:32 -05:00
Sterling Harper
e86761814b
Merge pull request #1154 from paulromano/cpp-output
Translate most output functions to C++
2019-02-12 11:23:25 -05:00
Jonathan Shimwell
d2d30ae97d removed print statment not needed 2019-02-12 15:04:40 +00:00
Jonathan Shimwell
59501916cc added **kwargs to allow flexible downloading 2019-02-12 15:02:51 +00:00
Jonathan Shimwell
e554ef9c6d added context as an argument for downloading 2019-02-12 14:24:20 +00:00
Paul Romano
2ad4726c23 Small improvement suggested by @pshriwise 2019-02-11 19:46:40 -06:00
Sterling Harper
49daad3f94 Cleanup C++ tallies work 2019-02-11 20:22:48 -05:00
Sterling Harper
a8a7d9112f Use 0-based indexing for FilterMatch.i_bin_ 2019-02-11 15:59:36 -05:00
Sterling Harper
8b3be55f0e Use more 0-based indexing for tallies 2019-02-11 15:34:55 -05:00
Sterling Harper
743db3c02e Separate tally scoring from Tally object methods 2019-02-11 14:47:34 -05:00
Paul Romano
20fa6fa5da Respond to @smharper and @pshriwise comments on #1154 2019-02-11 13:20:06 -06:00
Sterling Harper
8bb0fa7791 Move write_tallies to C++ 2019-02-11 13:58:12 -05:00
Paul Romano
7ff5647a53
Merge pull request #1157 from pshriwise/graveyard_bcs
Adopting graveyard convention for DAGMC models.
2019-02-11 06:44:41 -06:00
Sterling Harper
ddaed7311b Finish moving apply_derivative_to_score to C++ 2019-02-10 21:45:54 -05:00
Sterling Harper
e29931fef7 Start moving apply_derivative_to_score to C++ 2019-02-10 20:17:04 -05:00
Sterling Harper
cdb10ef2cc Move score_*_derivative to C++ 2019-02-10 18:43:48 -05:00
Sterling Harper
2286b245bb Remove C++/Fortran interop code 2019-02-10 14:09:15 -05:00
Sterling Harper
b3191e3c9c Use 0-based indexing for tally score indices 2019-02-10 13:25:26 -05:00
Sterling Harper
0d7df88edd Finish moving score_general_mg to C++ 2019-02-10 13:06:33 -05:00
Patrick Shriwise
73a9011e60 Removing additional warning call. 2019-02-10 10:53:04 -06:00
Paul Romano
eb83038a41
Merge pull request #1160 from liangjg/develop
Another bug in openmc.capi.load_nuclide
2019-02-09 20:37:55 -06:00
Patrick Shriwise
4c4d871c86 Allowing for an implicit complement material in legacy DAGMC formats. 2019-02-09 14:09:10 -06:00
Sterling Harper
5e476760b9 Merge remote-tracking branch 'upstream/develop' into cpp_tallies 2019-02-09 13:27:12 -05:00
Adam Nelson
fcad148c07
Merge pull request #1158 from smharper/mg_tallies_coverage
Increase MG tallies testing coverage
2019-02-08 16:25:22 -06:00
Jingang Liang
f8c8e4e972 updated depletion test to perform loading of new nuclides from the chain 2019-02-08 12:34:20 -08:00
Jingang Liang
0adad96bf0 fix capi: make sure capi.nuclides works after calling capi.load_nuclide 2019-02-08 12:02:51 -08:00
Patrick Shriwise
83bd36d1da Using warning output function instead of cout. 2019-02-08 08:58:42 -06:00
Paul Romano
b4d26e2c34
Merge pull request #1156 from smharper/precursor_tally_bugfix
Bug fixes for precursor decay rate tallies
2019-02-08 08:36:03 -06:00
Sterling Harper
7578378368 Increase MG mode tallies test coverage 2019-02-07 23:51:46 -05:00
Sterling Harper
66e2d1f63c Fix MG mode bugs for inverse-vel and decay tallies 2019-02-07 23:48:54 -05:00
Sterling Harper
3ff2410dfa Fix MG mode delayed nu-fission indexing bug 2019-02-07 13:13:43 -05:00
Sterling Harper
e5f1215b70 Increase test_tallies coverage 2019-02-07 10:41:36 -05:00
Sterling Harper
4b60230935 Avoid decay-rate segfault with non-fissionable nuc 2019-02-07 10:22:00 -05:00
Sterling Harper
1ee5c3bf64 Begin moving score_general_mg to C++ 2019-02-06 23:38:21 -05:00
Paul Romano
6935433737
Merge pull request #1153 from liangjg/develop
Fix bug when loading nuclides with openmc.capi
2019-02-06 22:27:46 -06:00
Sterling Harper
1c1fa6d753 Finish moving score_general_ce to C++ 2019-02-06 21:03:57 -05:00
Patrick Shriwise
6e2a601fe9 Adding vacuum BCs to graveyard volumes automatically. 2019-02-06 17:44:16 -06:00
Sterling Harper
a2a08f20b7 Fix two SCORE_DECAY_RATE bugs
Bug 1: the wrong nuclide index was used resulting in a segfault
Bug 2: two branches in the tally logic did not use the correct nu value
2019-02-06 16:08:29 -05:00
Jingang Liang
0459632e18 update test_capi.py 2019-02-06 12:59:29 -08:00
Sterling Harper
355ce75f0a Start moving score_general_ce to C++ 2019-02-06 13:39:57 -05:00
Paul Romano
a99b732592 Remove unused Fortran code/data 2019-02-06 07:17:53 -06:00
Paul Romano
ab0b9eb0bc Translate most of load_state_point to C++ 2019-02-06 07:11:44 -06:00
Paul Romano
102aa934ae Add implementation of write_message and fatal_error in error.cpp 2019-02-06 07:11:44 -06:00
Paul Romano
b178a66e7f Add implementation of warning() in C++ 2019-02-06 07:11:44 -06:00