Commit graph

1078 commits

Author SHA1 Message Date
Paul Romano
970fc566a8 Merge branch 'develop' into photon-new 2017-11-11 14:28:38 -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
Paul Romano
5ca1d06b0c Merge branch 'develop' into arithmetic-units 2017-10-24 13:27:39 -05:00
Paul Romano
2673880a9c Move test_element_wo to unit tests 2017-10-13 15:24:47 -05:00
Paul Romano
7653be0a5e Use argparse in run_tests.py instead of optparse 2017-10-13 15:24:47 -05:00
Paul Romano
ce8b097812 Fix comment in enrichment test 2017-10-04 21:06:28 -05:00
Paul Romano
18ca81e8d6 Fix copy/paste error in enrichment test 2017-10-04 14:43:18 -05:00
Paul Romano
a41a4d1feb Update correlation used for U weight fractions based on enrichment 2017-10-04 14:15:13 -05:00
Paul Romano
a6540b167d Improve handling of units on division for tally arithmetic. Closes #549. 2017-10-04 09:53:47 -05:00
Sterling Harper
54052385e4 Merge pull request #915 from paulromano/the-big-refactor
Refactoring source organization, tally initialization, global variables
2017-09-29 17:11:16 -04:00
Adam Nelson
11cee613cc Fixed the duplicate code introduced in #910 and fixed a minor bug identified in run_tests.py 2017-08-26 10:06:11 -04:00
Paul Romano
523fb33bab Allow entropy mesh and UFS mesh to be specified using <mesh> elements 2017-08-24 14:57:55 -05:00
guillaume
56d8f25f36 pleasing python2: .set_element was not giving the same round offs in python2 and python3 2017-08-06 15:31:02 -04:00
guillaume
fa07ddb857 pleasing python2 2017-08-06 15:00:38 -04:00
guillaume
a766aa33f8 merged with develop then updated surface tally results 2017-08-06 14:19:09 -04:00
guillaume
c0efbf13c5 Merge is inevitable because of new test created and test suite was changed
Merge branch 'develop' into test_surface_tallies
2017-08-06 14:15:48 -04:00
guillaume
1c12273363 updated test_surface_tally results 2017-08-06 14:06:02 -04:00
guillaume
f0c051db5f corrected syntax in PyAPI test, and deleted forgotten cellto options in input handling 2017-08-06 13:54:03 -04:00
Paul Romano
58992b02c3 Fix writing of energy cutoff, few other issues 2017-07-20 08:11:14 -05:00
guillaume
5b2aae3b05 debugging test 2017-07-14 17:17:42 -04:00
guillaume
937c5f6f5d rewording 2017-07-14 16:50:59 -04:00
guillaume
1b4f2ae025 not much 2017-07-14 16:19:58 -04:00
guillaume
d28bb4f9b3 get_results now does all tallies instead of 1 2017-07-14 15:59:28 -04:00
guillaume
7a2ce111c6 added inputs_true to git 2017-07-14 15:14:38 -04:00
guillaume
87a1139f62 cleaned up test and generated results 2017-07-14 15:13:27 -04:00
guillaume
5ac313260c changed test to PythonAPItestharness and added tests on surface filter behavior at boundaries 2017-07-14 15:01:08 -04:00
Paul Romano
b6a91cc25a Merge pull request #897 from smharper/partial_sab
Partial S(alpha, beta) tables
2017-07-13 15:02:11 -05:00
Sterling Harper
952224324e Run check_source separately from run_tests 2017-07-12 16:16:43 -04:00
Sterling Harper
b21b6e8331 Use Travis CI build matrix 2017-07-12 15:08:04 -04:00
Sterling Harper
391cb442ef Only put S(a,b) fraction in XML if not unity 2017-07-12 11:53:50 -04:00
Sterling Harper
27d1a1b562 Fix sorting of S(a,b) fractions 2017-07-12 11:40:21 -04:00
Paul Romano
8e67c6f005 Run ctest in normal mode. Remove phdf5-omp-debug configuration. 2017-07-11 14:19:05 -05:00
Paul Romano
786bb5bc6c Use a PPA to install HDF5 and PHDF5 on Travis 2017-07-11 06:43:24 -05:00
Sterling Harper
ba5b54dc88 Merge remote-tracking branch 'upstream/develop' into partial_sab 2017-07-10 15:31:13 -04:00
Paul Romano
653b7b89db Try using HDF5 1.8.19 instead of 1.10.1 2017-07-10 13:38:18 -05:00
Paul Romano
17a3fbc9a9 Use MPICH from package manager 2017-07-10 13:38:15 -05:00
Paul Romano
477a46f7f7 Update versions of MPICH and HDF5 in travis_install.sh 2017-07-10 10:36:39 -05:00
guillaume
15bbffc678 Added surface_filter, standalone and with cell_from in test_surface_tally 2017-07-06 20:27:58 -04:00
Sterling Harper
b3ee065206 Add fraction to S(a,b) test; move to PyAPI 2017-06-29 13:57:25 -04:00
tjlaboss
9a7f9e0dc0 Updated test suite to use S(a,b) fraction
inputs_true.dat for many of the tests now contain
the new <sab fraction=""> syntax
2017-06-29 09:02:02 -06:00
guillaume
6c247fe284 added test suite for surface tally, with partial currents both ways (fuel to water and water to fuel) and couple of filters relevant to crossing surfaces 2017-06-28 21:51:50 -04:00
Paul Romano
8265c75cb0 Sort XML elements by integer ID, use 2 spaces per indent level
Some test results actually change because the different ordering of materials in
the XML file results in a different order in which nuclides are loaded
in. Because probability table sampling is sensitive to the order of nuclides,
the RNG stream ends up being different.
2017-06-07 20:12:51 -05:00
Paul Romano
ca009e211e Manage unique IDs via new IDManagerMixin that uses class variables 2017-06-07 20:12:51 -05:00
Paul Romano
897db1389d Merge pull request #871 from amandalund/separate_filters
Separate tally filters from tallies
2017-05-24 09:27:50 -05:00
Paul Romano
790682df2f Fix assignment of S(a,b) tables 2017-05-08 17:15:46 -05:00
amandalund
cf6b71f719 Address #871 comments 2017-05-05 18:38:21 -05:00
amandalund
375125c603 Merge branch 'develop' into separate_filters
* develop: (91 commits)
  Update resonance scattering test result
  removed additional unnecessary modifications
  removed unnecessary modifications
  updated to only modify the _swap_filters method
  Check for elastic scattering with isotropic mu.
  changed == to is
  fixed issue in tallies.py in making sure static copy of other filter gets updated and updated tests
  fixed bug for misaligned energy and energyout filters
  When 1 temp is available, revert to nearest temp on all processes
  added other_old to _swap_filter method
  fixed tally alignment method in tallies.py
  Make sure get_pandas_dataframe() works with 1D mesh filter
  Fix bug with SurfaceFilter bin ordering
  Check for void materials in tracklength tallies
  Make sure source is in geometry before fiss. check
  Make parent class for filters with IDed objects
  Allow objects in addition to ids in Filters
  Cleaned up rxn_rate_tally property for consistent scattering matrices
  Simplified code for xs_tally property for consistent scattering matrices
  Update inputs for test_diff_tally
  ...

Conflicts:
	openmc/filter.py
	src/output.F90
2017-04-30 17:41:38 -05:00
Paul Romano
e143546662 Merge pull request #862 from smharper/filter_bin_ids
Allow objects in addition to ids in Filters
2017-04-30 15:33:48 -05:00
Paul Romano
f0214f4c12 Merge branch 'improved-ares' into develop 2017-04-26 14:53:01 -05:00