Commit graph

297 commits

Author SHA1 Message Date
Alex Lindsay
2e6b40cb1b Consistently check derived for sum and sum_sq in tallies. Closes #1010 2018-05-23 14:16:17 -06:00
Adam G Nelson
b61c67a12c fixes per request of @paulromano: fixing test scratch files vice using .gitignore, minor typo in docs, and some otherwise small code cleanups 2018-05-01 19:17:21 -04:00
Adam G Nelson
1d2ebb71f8 Implemented Expansion filters in to the MGXS classes and removed the old score-based expansions 2018-04-27 19:45:38 -04:00
Paul Romano
f5270f183a Remove get_bin() method. Fix __repr__ for some filters 2018-03-29 13:35:58 -05:00
Paul Romano
d41ac48467 Force all filters to have a .bins attribute that makes sense 2018-03-28 15:56:03 -05:00
Paul Romano
22429dd389 Implement MeshSurfaceFilter.get_pandas_dataframe. Fix surface/mesh filters 2018-03-19 17:50:33 -05:00
Paul Romano
0b6333810f Avoid divide-by-zero warnings in tally arithmetic 2018-03-19 10:40:42 -05:00
Paul Romano
bd5b7afc2d Fix bug related to bin ordering for mesh filters 2018-03-16 13:47:01 -05:00
Paul Romano
d3d6dc87dc Remove a few more __future__ imports. Use collections.abc 2018-02-05 23:14:30 -05:00
Paul Romano
0aee52c5ab Remove deprecated methods 2018-02-05 23:14:30 -05:00
Paul Romano
deab4b3d33 Use empty-argument form of super() 2018-02-05 23:14:30 -05:00
Paul Romano
c428cee667 Remove __future__ and six imports 2018-02-05 23:14:30 -05:00
Paul Romano
68a01b8fc1 Explicitly use int(floor(...)) for Python 2 compatibility 2018-02-05 07:35:48 -06:00
Paul Romano
55f7260b2a Remove _smart_set_bins in favor of overriding Filter.bins.setter 2017-12-20 10:12:07 +07:00
Paul Romano
2ef1c23d5a Make Filter.num_bins a (usually) computed property 2017-12-19 21:54:08 +07:00
Paul Romano
e6b5803f70 Make filter_strides a property of Tally 2017-12-19 15:58:14 +07:00
Paul Romano
9aaa927222 Update Jupyter notebooks to remove use of openmc.Nuclide 2017-12-17 07:16:06 +07:00
Paul Romano
9c182ece34 Remove various uses of Nuclide.name property 2017-12-17 07:16:06 +07:00
Paul Romano
b771fb7ae3 Remove eq/hash on Mesh and Tally 2017-12-17 07:16:06 +07:00
Paul Romano
e2dfb5b5fb Remove more unnecessary eq/hash 2017-12-17 07:16:05 +07: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
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
Paul Romano
5ca1d06b0c Merge branch 'develop' into arithmetic-units 2017-10-24 13:27:39 -05:00
Paul Romano
02b8f4ec09 Change names of openmc.capi classes. Hopefully fix RTD docs build. 2017-10-05 10:52:29 -05:00
Paul Romano
a6540b167d Improve handling of units on division for tally arithmetic. Closes #549. 2017-10-04 09:53:47 -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
1bd3e0b1d0 Make scipy and pandas required dependencies 2017-06-07 20:12:51 -05:00
amandalund
70cc2f63c3 Address #871 comments: incremented statepoint revision, updated documented tallies.xml format, updated tallies RELAX NG schema 2017-05-23 13:07:40 -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
Sam Shaner
4655aecde6 removed additional unnecessary modifications 2017-04-26 12:58:27 -04:00
Sam Shaner
d9825f18a2 removed unnecessary modifications 2017-04-26 12:57:11 -04:00
Sam Shaner
f275b71299 updated to only modify the _swap_filters method 2017-04-26 12:55:13 -04:00
Sam Shaner
ad3043970d changed == to is 2017-04-25 16:55:10 -04:00
Sam Shaner
b212612657 fixed issue in tallies.py in making sure static copy of other filter gets updated and updated tests 2017-04-25 14:45:36 -04:00
Sam Shaner
61fab479e0 fixed bug for misaligned energy and energyout filters 2017-04-25 13:59:55 -04:00
Sam Shaner
a59c167d34 added other_old to _swap_filter method 2017-04-25 09:58:47 -04:00
Sam Shaner
f02fbe5ab9 fixed tally alignment method in tallies.py 2017-04-25 09:55:49 -04:00
amandalund
2436237ce7 Change how check for duplicate filters is done when exporting to tallies.xml file 2017-03-31 15:22:04 -05:00
amandalund
3670d6eda9 Fix writing identical filters with different user IDs to tallies.xml 2017-03-28 15:19:05 -05:00
amandalund
f08567b096 Changed python API; changed how filters are written to statepoint; changed tally filters array to indices of filters in global array 2017-03-27 16:05:26 -05:00
Will Boyd
3af6f49e23 Shortened moment score consolidation code 2017-03-08 18:50:19 -05:00
Will Boyd
0c3e586dd2 Tally merging now consolidates moment scores 2017-03-08 14:23:49 -05:00
Paul Romano
2d1897a051 Remove offsets, distribcell_index, distribcell_paths 2017-03-06 12:36:48 -06:00
Sterling Harper
f139ce8dc1 Fix printing bug for tallies with AggregateNuclide 2017-02-24 15:01:21 -05:00
samuelshaner
ff3d034275 added tracklength estimator capability for decay-rate tally and fixed other issues 2016-12-15 20:23:07 +00:00
Paul Romano
357aa894c8 Get rid of WRITTEN_IDS global variable 2016-12-14 06:58:45 -06:00
Paul Romano
be470d2615 Get rid of self._*_file attributes 2016-12-14 06:56:38 -06:00
Sterling Harper
310fa134be Address #768 comments 2016-12-05 16:51:55 -05:00