OpenMC/openmc
Andrew Johnson 6d4d25acb2
Implement add, imul, rmul for openmc.deplete.FissionYield
Addition methods __add__ and __iadd__ expect the other
argument to a FissionYield object and will add
the yields from one to the other [in place for __iadd__].

Multiplication methods __imul__, __mul__, and __rmul__
expect the other argument to be a scalar and will scale
the fission yields by this value [in place for __imul__]

Also added a __repr__ method that returns a dictionary-like
representation
2019-08-13 15:16:41 -05:00
..
capi set_interp_data -> set_data for capi.EnergyFunctionFilter 2019-07-30 11:49:31 -05:00
data Fix use of ENDF_FLOAT_RE in ace.py 2019-07-19 07:40:48 -05:00
deplete Implement add, imul, rmul for openmc.deplete.FissionYield 2019-08-13 15:16:41 -05:00
mgxs Update many of the Jupyter notebooks 2019-07-19 07:15:36 -05:00
model Documentation fixes for pin func, depletion helpers 2019-07-29 15:57:29 -05:00
stats Fixed some univariate/multivariate from_xml_element issues and updated unit tests 2019-05-22 19:26:15 -06:00
__init__.py Remove get_ from get_hexagonal_prism, get_rectangular_prism 2019-06-18 06:17:54 -05:00
_utils.py Add option in download() to appear as browser 2019-07-01 07:28:47 -05:00
_xml.py Split up Geometry.from_xml, rename clean_xml -> _xml 2018-08-21 07:47:29 -05:00
arithmetic.py Make sure ABCs come from collections.abc 2018-10-18 05:54:36 -05:00
cell.py Add ability to translate/rotate a cell filled with a lattice 2019-05-15 11:34:21 -05:00
checkvalue.py Split the lines for code format. 2018-05-16 15:43:10 -04:00
cmfd.py Merge pull request #1222 from shikhar413/cmfd-added-funcs 2019-06-13 08:01:47 -05:00
element.py Iterate over all libraries, not children, in Element.expand 2019-06-20 08:26:43 -05:00
examples.py Use lower-case argument names for surfaces consistently 2019-03-08 11:25:26 -06:00
exceptions.py Have openmc_next_batch return an actual error 2018-04-11 13:23:54 -05:00
executor.py Remove a few more __future__ imports. Use collections.abc 2018-02-05 23:14:30 -05:00
filter.py Get rid of erroneous check in ParticleFilter.from_hdf5 2019-07-22 07:12:23 -05:00
filter_expansion.py replace all dataset.value with dataset[()] (or occasionally dataset[...]) 2019-03-27 11:45:48 -04:00
geometry.py Allow export_to_xml methods to take a directory 2019-03-12 11:42:51 -05:00
lattice.py A few more fixes pointed out by @smharper 2019-06-17 06:24:45 -05:00
macroscopic.py Use empty-argument form of super() 2018-02-05 23:14:30 -05:00
material.py Add temperatures to statepoints, Material.from_hdf5 2019-07-12 14:23:55 -05:00
mesh.py Merge remote-tracking branch 'upstream/develop' into rect_mesh 2019-06-07 09:29:13 -04:00
mgxs_library.py replace all dataset.value with dataset[()] (or occasionally dataset[...]) 2019-03-27 11:45:48 -04:00
mixin.py Fix subtle bug with next_id not getting reset for autogenerated IDs 2018-02-05 07:35:19 -06:00
nuclide.py Use empty-argument form of super() 2018-02-05 23:14:30 -05:00
openmoc_compatible.py Make Intersection and Union obey the mutable sequence protocol 2017-06-07 20:12:51 -05:00
particle_restart.py replace all dataset.value with dataset[()] (or occasionally dataset[...]) 2019-03-27 11:45:48 -04:00
plots.py Applying internal color check to meshlines. 2019-06-14 11:55:25 -05:00
plotter.py Implemented Expansion filters in to the MGXS classes and removed the old score-based expansions 2018-04-27 19:45:38 -04:00
polynomial.py Don't import openmc.capi at top-level 2018-10-19 10:44:12 -05:00
region.py Use lower-case argument names for surfaces consistently 2019-03-08 11:25:26 -06:00
search.py Use ufloat for k_combined in statepoint 2018-03-15 11:02:07 -05:00
settings.py Merge remote-tracking branch 'upstream/develop' into rect_mesh 2019-06-07 09:29:13 -04:00
source.py Fixed some univariate/multivariate from_xml_element issues and updated unit tests 2019-05-22 19:26:15 -06:00
statepoint.py Change Python Mesh class to RegularMesh 2019-06-07 08:51:09 -04:00
summary.py replace all dataset.value with dataset[()] (or occasionally dataset[...]) 2019-03-27 11:45:48 -04:00
surface.py replace all dataset.value with dataset[()] (or occasionally dataset[...]) 2019-03-27 11:45:48 -04:00
tallies.py Speed up transport correction by having same tally order in scattering matrix tally and correction tally 2019-04-08 17:27:41 -04:00
tally_derivative.py Remove __future__ and six imports 2018-02-05 23:14:30 -05:00
trigger.py Change Python Mesh class to RegularMesh 2019-06-07 08:51:09 -04:00
universe.py replace all dataset.value with dataset[()] (or occasionally dataset[...]) 2019-03-27 11:45:48 -04:00
volume.py replace all dataset.value with dataset[()] (or occasionally dataset[...]) 2019-03-27 11:45:48 -04:00