Commit graph

6915 commits

Author SHA1 Message Date
Paul Romano
147bbefbe7 Run pytest verbosely 2017-12-14 10:36:28 +07:00
Paul Romano
74a28519d0 Fix import for Python 2.7 2017-12-14 10:04:14 +07:00
Paul Romano
7b56bcead6 Add unit tests for openmc.capi 2017-12-14 09:52:05 +07:00
Paul Romano
5116916d7a Fix capi.Cell.__new__ 2017-12-11 13:01:18 +07:00
Paul Romano
4fbd9d75c2 Allow openmc.capi.statepoint_write to pass filename 2017-12-11 13:01:18 +07:00
Paul Romano
ad0283d016 Account for 'ftn' as an MPI wrapper since it is common on Cray systems 2017-12-11 13:01:18 +07:00
Paul Romano
a9b831cc91 Add one publication to list 2017-12-11 13:01:18 +07:00
Paul Romano
38550f3bf8 Use sorted() to sort XML elements in geometry.xml 2017-12-11 13:01:18 +07:00
Paul Romano
726d1a268f Sort materials list before creating <material> elements 2017-12-11 13:01:18 +07:00
Paul Romano
ee8b7edd9c Display message when writing summary file 2017-12-11 13:01:18 +07:00
Paul Romano
402b09ee3d Add Python bindings for global num_realizations. Fix active rate. 2017-12-11 13:01:18 +07:00
Paul Romano
7b5f2bb821 Simple optimizations to Universe._determine_paths 2017-12-11 13:01:18 +07:00
Paul Romano
6e9b8a5ce5 Move get_*_prism functions to openmc.model 2017-12-11 13:01:18 +07:00
Paul Romano
198df07311 Add subdivide convenience function 2017-12-11 13:01:18 +07:00
Paul Romano
671db024db Fix bugs with statepoint loading. Add properties to capi.Tally. 2017-12-11 13:01:17 +07:00
Paul Romano
be28e13220 Allow k_generation and entropy to grow beyond n_max_batches 2017-12-11 13:01:17 +07:00
Paul Romano
7d00c0b5eb Account for possibility of running beyond n_batches 2017-12-11 13:01:17 +07:00
Paul Romano
9ddc7316e4 Add simulation_init/finalize, iter_batches, source_bank in openmc.capi 2017-12-11 13:01:17 +07:00
Paul Romano
f14957940d Add openmc.capi.global_tallies() 2017-12-11 13:01:17 +07:00
Paul Romano
ac565724dc Have openmc_next_batch return a status 2017-12-11 13:01:17 +07:00
Paul Romano
9f66edb7fb Move batch logic into openmc_next_batch 2017-12-11 13:01:17 +07:00
Paul Romano
3af20e8faf Fix openmc.capi.Tally.scores getter 2017-12-11 13:01:17 +07:00
Paul Romano
87c06cd334 Update list of publications. Add note about citing OpenMC. 2017-12-11 13:01:17 +07:00
Sterling Harper
af4f86add0
Merge pull request #933 from paulromano/fix-rpath
Make sure libopenmc.so gets installed with correct RPATH
2017-11-22 12:08:38 -05:00
Paul Romano
e68185e89b Make sure libopenmc.so gets installed (and has correct RPATH) 2017-11-22 07:33:11 -06:00
Paul Romano
75c7d41022
Merge pull request #931 from smharper/filter_id_warn
Remove false warnings when one tally filter is used in multiple tallies
2017-11-10 06:45:33 -06:00
Sterling Harper
0beb4cb937
Merge pull request #929 from paulromano/pandas-fix
Fix pandas issue related to MultiIndex conversion
2017-11-09 23:26:25 -05:00
Sterling Harper
13758d0e36 Remove false warnings when a Filter is reused 2017-11-09 23:19:09 -05:00
Paul Romano
abe0584c04 Fix pandas issue related to MultiIndex conversion 2017-11-08 10:24:22 -06:00
Sterling Harper
0ca6f416d3
Merge pull request #928 from paulromano/travis-fail-fast
Make sure Travis checks results of regression and unit tests
2017-11-08 08:17:31 -05:00
Paul Romano
05250cdc17 Make sure Travis checks results of regression and unit tests 2017-11-08 06:39:47 -06:00
Sterling Harper
1abb1bfa1b
Merge pull request #922 from paulromano/unittest
Set up unit testing infrastructure
2017-11-07 11:36:45 -05:00
Paul Romano
1c8fbf5367 PEP8 fixes in run_tests.py 2017-11-07 08:28:29 -06:00
Sterling Harper
8047f6c134 Merge pull request #918 from paulromano/arithmetic-units
Improve handling of units on division for tally arithmetic
2017-10-26 22:37:06 -04:00
Paul Romano
b334ade165 Update tally arithmetic notebook 2017-10-24 13:36:17 -05:00
Paul Romano
fbab98f3ca Fix bug in displaying leakage fraction 2017-10-24 13:34:27 -05:00
Paul Romano
5ca1d06b0c Merge branch 'develop' into arithmetic-units 2017-10-24 13:27:39 -05:00
Paul Romano
39a02887d1 Merge pull request #925 from smharper/filter_id_bug
Make sure autogenerated filter IDs are unique
2017-10-24 14:26:51 -04:00
Sterling Harper
b91b543fec Merge pull request #927 from paulromano/update-xml-example
Update XML pincell example
2017-10-24 13:25:23 -04:00
Sterling Harper
64be3267d0 Address #925 comments 2017-10-24 13:21:25 -04:00
Paul Romano
5a4b04a10f Use <entropy_mesh> in XML pincell example 2017-10-24 11:17:49 -05:00
Paul Romano
e879e922bb Merge pull request #926 from lindsayad/pincell_example_924
Remove troublesome mesh_id assignment
2017-10-24 12:04:36 -04:00
Alex Lindsay
b0cc6a320f Remove troublesome mesh_id assignment. Closes #924 2017-10-24 09:01:50 -06:00
Paul Romano
b06b05ee77 Merge pull request #923 from smharper/wmp-notebook
Add windowed multipole to the nuclear-data example notebook
2017-10-24 08:16:25 -04:00
Sterling Harper
27b1e7d228 Make sure autogenerated filter IDs are unique 2017-10-24 02:03:12 -04:00
Sterling Harper
a701333eea Add windowed multipole to the nuclear-data example 2017-10-24 00:19:39 -04:00
sam
c16b8898b6 Merge pull request #919 from paulromano/enrichment-ornl
Update correlation used for U weight fractions based on enrichment
2017-10-20 15:31:24 -04:00
Paul Romano
e510fc7992 Add license badge on readme.rst 2017-10-18 11:23:10 -05:00
Paul Romano
3955e901b4 Remove tox.ini for now, update install instructions 2017-10-18 10:51:45 -05:00
Paul Romano
3d32f57c6f Add coverage to unit tests 2017-10-17 15:13:30 -05:00