Commit graph

1360 commits

Author SHA1 Message Date
Patrick Shriwise
d034e1de9c Apply suggestions from code review
Incorporating suggestions from @paulromano

Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-12-06 13:03:38 -06:00
Patrick Shriwise
021bb280c9 Adding initial test for exporting model.xmls. Correcting material maps 2022-12-06 13:03:38 -06:00
josh
5b807d4e6c add capability to set cell temperature to None 2022-12-06 18:31:28 +00:00
Paul Romano
f9884650ec Fix IncidentNeutron.from_njoy for high temperatures 2022-12-05 23:11:20 -06:00
josh
3f83699c22 update styling 2022-11-30 00:59:26 +00:00
josh
71631ada04 fix universe's get_nuclide_density without volumes present 2022-11-29 03:39:39 +00:00
Olek
da7e06dc53
Merge pull request #2301 from paulromano/decay-products
Produce light particles from decay
2022-11-22 07:28:30 -06:00
Rémi Delaporte-Mathurin
6d787d5fb0
Apply suggestions from code review
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
2022-11-21 09:39:01 -05:00
jiankai-yu
a17fe6cc82
Add decay heat function in material (#2287)
* add decay heat in material.py

* add decay_energy.json into eggs

* fix a bug when returned decay_ery is None

* add unit test for decayheat

* fix typo in doc string

* address reviewer's comments

* add user defined decay energy

* remove json for decay energy

* address a few comments

* add to docs
2022-11-17 22:57:01 -06:00
Paul Romano
d6a4a3ecb9 Produce light particles from decay 2022-11-16 23:07:52 -06:00
Paul Romano
df3334f19a
Merge pull request #2265 from joshmay1/temp_interp_tol
Adds a tolerance for temperatures slightly out of bounds when interpolating
2022-11-14 21:24:52 -08:00
Ethan Peterson
2adbe97194 updated algorithms and documentation 2022-11-10 11:15:24 -05:00
Ethan Peterson
b0d71b3146 Apply suggestions from @paulromano code review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-11-10 11:15:24 -05:00
Ethan Peterson
13b1bb88d0 added unit test 2022-11-10 11:15:24 -05:00
Ethan Peterson
bf58a46a9c cleaning up and moving all methods to instance methods rather than module 2022-11-10 11:15:24 -05:00
Paul Romano
1a91fc6fcb
Merge pull request #2263 from eepeterson/redundant_surf_fix
Fix for finding redundant surfaces
2022-11-10 05:18:24 -08:00
Ethan Peterson
1110038939 remove get_redundant_surfaces and cache 2022-11-08 21:04:15 -05:00
Paul Romano
3682c02d1f
Merge pull request #2282 from shimwell/update_atomic_mass_to_amdc_2020
swapped from 2016 to 2020 amdc data
2022-11-03 12:10:13 -05:00
josh
81b88cc018 Clean up comparisons and lump test cross sections 2022-11-02 02:23:37 +00:00
Ethan Peterson
71aa46a0b1
Merge pull request #2284 from pshriwise/add-ww-rndtrp-test
Adding __eq__ method and roundtrip test for weight windows
2022-10-30 10:37:09 -04:00
josh
0792d987d0 Merge branch 'develop' into temp_interp_tol 2022-10-30 03:10:57 +00:00
Patrick Shriwise
b00404be7c Updating dimension type to tuple in a couple of test checks 2022-10-28 04:34:35 +00:00
Patrick Shriwise
80563f1b8c Absolute file paths on system 2022-10-27 14:43:14 -05:00
Patrick Shriwise
5c589b7a6c Adding __eq__ method and roundtrip test for wws 2022-10-27 11:40:12 -05:00
Paul Romano
df9f7ec814 Make sure Chain.reduce preserves information in the .sources attribute 2022-10-27 08:51:32 -05:00
Jonathan Shimwell
9ff159a4db updated to new AME format 2022-10-26 21:08:12 +01:00
Ethan Peterson
a46cafa7fe addressed @pshriwise comments 2022-10-26 09:41:03 -04:00
Ethan Peterson
fec53aa1fa updated tests 2022-10-26 09:41:03 -04:00
Jonathan Shimwell
3d26f1992c added test for lower ww shape 2022-10-24 19:13:22 +01:00
Ethan Peterson
1a67755f6a update unit test 2022-10-19 14:27:18 -04:00
Paul Romano
2ae5ccb031 Fix EnergyFunctionFilter.from_xml_element 2022-10-18 12:14:15 -05:00
Paul Romano
0587aeeaa4 Allow EnergyFunctionFilter interpolation to be set from C API 2022-10-18 12:14:15 -05:00
Patrick Shriwise
61f8a793d7
Merge pull request #2267 from paulromano/random-test-fix
Improve tests for checking sample means
2022-10-18 10:20:44 -05:00
Paul Romano
358e7b3918 Change assert_sample_mean to use 4sigma CI 2022-10-16 12:19:12 +02:00
josh
bee963be86 Merge branch 'develop' into temp_interp_tol 2022-10-13 21:33:39 +00:00
josh
b0a300aedc add to existing temp interp test, update doccs 2022-10-13 21:24:25 +00:00
Paul Romano
400000d5c4
Merge pull request #2252 from paulromano/decay-photon-stable-fix
Make sure Material.decay_photon_energy works with no unstable nuclides
2022-10-12 18:28:51 +02:00
Patrick Shriwise
444a80012b Naming tally in activation unit test 2022-10-11 23:38:13 -05:00
RemDelaporteMathurin
48d75accdd fixed cylindrical mesh test 2022-10-11 17:12:55 +00:00
RemDelaporteMathurin
3792c6fb70 fixed unit test 2022-10-11 17:11:54 +00:00
RemDelaporteMathurin
5632a40e5c Merge branch 'develop' into centre_for_cylinder_spherical_meshes 2022-10-07 13:08:51 +00:00
RemDelaporteMathurin
5787616ae4 added two tests to check centre was written/read to/from xml 2022-10-07 07:18:00 +00:00
Paul Romano
47ff27e77f
Merge pull request #2233 from shimwell/adding_from_domain_to_CylindricalMesh
added from domain to CylindricalMesh
2022-10-06 09:36:32 -05:00
Paul Romano
fe04a839c2 Make sure Material.decay_photon_energy works with no unstable nuclides 2022-10-05 14:28:18 -05:00
Gavin Ridley
9a86c9c065
Merge pull request #2228 from paulromano/sourcefile-fix
Fix reading source file with time attribute
2022-10-05 14:43:20 -04:00
Jonathan Shimwell
6a9a1ad293 added phi_grid_bounds to CylindricalMesh tests 2022-10-05 11:46:00 +01:00
Jonathan Shimwell
afbd994d4f
review suggestions from Remi and Paul
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
Co-authored-by: Rémi Delaporte-Mathurin <40028739+RemDelaporteMathurin@users.noreply.github.com>
2022-10-05 08:45:59 +01:00
Jonathan Shimwell
434dc1f30d
Merge pull request #2238 from pshriwise/dag_cells_surfs
Adding properties for number of DAGMC cells and surfaces
2022-10-04 16:18:50 +01:00
Patrick Shriwise
6c698e3b88
Merge pull request #2242 from eepeterson/wwinp_reader_fix
fix wwinp reader
2022-10-03 18:58:26 -05:00
Patrick Shriwise
47488ecacb
Merge pull request #2235 from paulromano/source-rejection
Source rejection by domain (cell, material, universe)
2022-10-03 09:38:28 -05:00