Paul Romano
86351747e7
Ensure remove_nuclide removes all matching nuclides. Closes #1532
2020-03-25 09:37:00 -05:00
Paul Romano
72a639593d
Merge pull request #1528 from drewejohnson/condense-chain
...
Use Chain.reduce to follow paths and reduce the size
2020-03-25 09:12:11 -05:00
Andrew Johnson
3669709061
Apply suggestions from code review
...
* Use set operations (|=) rather than in-place methods (update)
* Remove second arguments to some asserts in Chain.reduce testing
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
2020-03-25 07:01:42 -04:00
=shimwell
ffa0cfc03e
added tests for number of elements
2020-03-24 13:33:42 +00:00
=shimwell
5fe6576a9c
added test to check decimal values fail
2020-03-24 11:57:17 +00:00
Paul Romano
d8ef73d037
Make sure boundary_type is passed as a keyword argument
2020-03-23 20:55:01 -05:00
=shimwell
8ba369d6cc
added elements from formula
2020-03-23 20:15:59 +00:00
Andrew Johnson
2394468a49
Support time in h, min from ResultsList.get_atoms
2020-03-23 13:56:35 -04:00
Andrew Johnson
a2691a32d5
Use atoms/b-cm, atoms/cm3 in ResultsList.get_atoms
...
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
2020-03-23 13:43:36 -04:00
Paul Romano
07cfb0cfcc
Remove _utils.py (download function moved to data repository)
2020-03-23 12:12:31 -05:00
Andrew Johnson
4677714866
Add tests for new ResultsList.get_atoms units
2020-03-21 10:18:06 -04:00
Andrew Johnson
b01a3e011b
Add unit tests for Chain.reduce
2020-03-21 09:13:49 -04:00
Andrew Johnson
2c2d9d7f31
Provide FissionYieldDistribution.restrict_products
2020-03-21 09:00:42 -04:00
Paul Romano
1d2b72ee77
Merge pull request #1523 from Mikolaj-A-Kowalski/cam_WP7_task4
...
Deterministic Cell Inventory Calculations
2020-03-19 13:48:38 -05:00
Mikolaj-A-Kowalski
671c902350
Apply suggestions from code review
...
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
2020-03-19 15:43:20 +00:00
Mikolaj Adam Kowalski
ec10221219
Address comments by @pshriwise
2020-03-19 12:04:44 +00:00
Mikolaj-A-Kowalski
06ffd256bc
Apply suggestions from code review
...
Co-Authored-By: Patrick Shriwise <pshriwise@gmail.com>
2020-03-19 11:23:12 +00:00
Paul Romano
8154e5a035
Merge pull request #1469 from rockfool/develop
...
Add reconstruction for Azimuthal Zernike Tallies
2020-03-17 16:51:38 -05:00
rockfool
d409e99eb0
address comments from reviewers
2020-03-17 15:41:17 -04:00
Mikolaj-A-Kowalski
7ee102795f
Remove non-default tolerance from test_cell.py
2020-03-17 19:15:09 +00:00
Mikolaj Adam Kowalski
a6076f0755
Address comments by @ChasingNeutrons
2020-03-16 14:31:24 +00:00
Mikolaj Adam Kowalski
c2a769f1f2
Merge branch 'develop' of https://github.com/openmc-dev/openmc into cam_WP7_task4
2020-03-11 16:04:54 +00:00
Paul Romano
3fc25be950
Merge pull request #1503 from Mikolaj-A-Kowalski/develop
...
Enrichment of 2-Isotope Elements
2020-03-04 07:38:24 -06:00
Mikolaj Adam Kowalski
adcb9347a7
Address comments by @paulromano
...
Use default rel_tol in pytest.approx in test_element.py
Add info that default enrichment for U is in wo%
2020-03-04 11:58:46 +00:00
Mikolaj-A-Kowalski
bcc4a52eb9
Apply suggestions from code review
...
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
2020-03-04 11:41:52 +00:00
Mikolaj Adam Kowalski
023f9e4690
Add support for 'distribmat' cells to Cell.atoms
...
Provide missing atoms entry in Cell Attributes
Create docstring for Cell.atoms
2020-03-03 19:02:54 +00:00
Mikolaj Adam Kowalski
36512e3096
Add tests for Cell.atoms and Cell.volume
...
Remove unnecessary 'if' blocks
Print volume in __repr__ only if its set to preserve regression
Make shure that _atoms is forgotten for volume/fill changes
2020-03-03 15:54:28 +00:00
Mikolaj Adam Kowalski
196c4a0735
Add exception for U enrichment with type 'ao'
...
Remove a confusing comment.
2020-02-29 20:34:05 +00:00
Sterling Harper
f62bdae0b6
Merge pull request #1495 from ChasingNeutrons/develop
...
Adding elements by name rather than symbol #1468
2020-02-29 13:24:51 -05:00
Ethan Peterson
c29ffa947d
Apply suggestions from code review
...
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
2020-02-28 08:03:36 -05:00
ChasingNeutrons
30c5167fb6
Merge pull request #4 from ChasingNeutrons/element_name
...
Changes to be consistent with PEP8 style
2020-02-28 12:33:26 +00:00
Paul Cosgrove
abd8175a15
Changes to be consistent with PEP8 style
2020-02-28 12:36:57 +00:00
Ethan Peterson
c88bd49597
finished unit tests
2020-02-27 12:31:15 -05:00
Ethan Peterson
a25882e76f
more unit tests
2020-02-27 10:27:42 -05:00
Ethan Peterson
7d69ff6de1
applied suggestions from code review
2020-02-27 10:27:42 -05:00
Ethan Peterson
cb92d02537
initial unit tests working
2020-02-27 10:27:42 -05:00
Ethan Peterson
a1f7cb7387
Implementing Surface Rotations
2020-02-27 10:27:42 -05:00
ChasingNeutrons
eba6a6e4c8
Merge pull request #2 from openmc-dev/develop
...
Update alongside openmc-dev
2020-02-26 13:28:49 +00:00
Mikolaj Adam Kowalski
9078010d88
Address comments by @simondrichards
...
Also remove spaces between Raises entries in docstring of Element.expand
2020-02-26 12:18:19 +00:00
Mikolaj Adam Kowalski
c679f8e8e1
Merge branch 'develop' into cam_WP7_task3
2020-02-26 11:23:48 +00:00
Paul Romano
630be279f2
Merge pull request #1493 from drewejohnson/numpy-mul-fy
...
Disallow numpy ufuncs being applied directly to FissionYields
2020-02-25 10:15:13 -06:00
Paul Romano
66dabca159
Merge pull request #1491 from eepeterson/surface_refactoring2
...
Surface refactoring improvements
2020-02-25 10:14:08 -06:00
Andrew Johnson
2854b3a3a0
Disallow numpy ufuncs being applied directly to FissionYields
...
Set ``__array_ufunc__`` to ``None`` to ensure that numpy floats respect
__rmul__ and __radd__ for fission yields. Allows weights to be left
or right multiplied as numpy floats, which can be computed during
fission yield weighting. A unit test has been added to ensure this
behavior is preserved
Closes #1492
2020-02-25 10:00:13 -05:00
Ethan Peterson
e6cf49275a
applied suggestions from code review
2020-02-25 08:42:21 -05:00
Ethan Peterson
e3af035095
finished unit tests and fixed wrong math
2020-02-25 08:42:21 -05:00
Ethan Peterson
3d3a27f841
applied suggestions from code review
2020-02-25 08:42:21 -05:00
Paul Cosgrove
dce773dd14
Added simple test for adding elements by name
2020-02-25 12:34:56 +00:00
Andrew Davis
2300617b9a
Merge branch 'develop' into dlopen_source
2020-02-24 21:15:20 +00:00
rockfool
5566f75fee
bug fix in unit test
2020-02-24 15:21:00 -05:00
rockfool
8d83b391b6
add unit test for azimuthal zernike
2020-02-24 15:10:41 -05:00