Commit graph

1359 commits

Author SHA1 Message Date
Paul Romano
adbc9e0537
Merge pull request #2171 from shimwell/tracks_to_vtk_on_object
Tracks to vtk on object
2022-08-15 13:20:41 -05:00
Patrick Shriwise
12ced92140
Merge pull request #2168 from paulromano/time-filter-fix
Fix TimeFilter for very small time intervals with tracklength estimator
2022-08-15 11:03:53 -05:00
Jonathan Shimwell
3a2d4a9138
suggestions from code review by @paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-08-15 16:05:02 +01:00
Jonathan Shimwell
239fc8d9c5
Merge branch 'openmc-dev:develop' into tracks_to_vtk_on_object 2022-08-15 08:36:48 +01:00
Jonathan Shimwell
73a23be378
Merge pull request #2163 from pshriwise/dag-bounding-surf-ids
DAGMC bounding surface IDs
2022-08-14 00:03:57 +01:00
shimwell
d15c051263 added missing arg 2022-08-13 12:34:17 +01:00
shimwell
ecd0455b06 added vtk writing to tracks object 2022-08-13 12:32:14 +01:00
lewisgross1296
d1775181e9 added deletion operator to TallyMapping class. used in tests and changed delete invalid id to access invalid id 2022-08-12 15:49:08 -05:00
lewisgross1296
9d82e412da added test to delete known tally. added test to throw an error if you remove tally that was not added 2022-08-12 13:24:29 -05:00
Ethan Peterson
e794513892
Merge pull request #2165 from paulromano/mixture-sample-fix
Fix Mixture.sample to account for intensities of underlying distributions
2022-08-12 12:54:24 -04:00
Patrick Shriwise
d47f41637f Some updates to DAGMC testing. 2022-08-12 07:53:36 -05:00
Jonathan Shimwell
623b867033 updated path for dagmc file 2022-08-12 10:43:40 +01:00
lewisgross1296
4faaa4062b moved test out of python API into C++ API. modeled after test that adds a new tally. TODO add a test that tries to delete an invalid ID 2022-08-11 14:03:21 -05:00
Jonathan Shimwell
b1ea00b6cb added test for args passed to bounded_universe 2022-08-11 18:01:49 +01:00
Jonathan Shimwell
6f433fc429 unit tests DAGMCUniverse bounding_region bounding_box 2022-08-11 17:29:42 +01:00
Paul Romano
80dc21be2c Add test for TimeFilter when time intervals are effectively zero 2022-08-11 11:10:49 -05:00
Paul Romano
ca99195e81 Fix Mixture.sample to account for intensities of underlying distributions 2022-08-11 07:27:04 -05:00
lewisgross1296
6d9d665e53 added new action to delete a tally as well as an assertion that the length is zero after deletion 2022-08-10 16:29:33 -05:00
Ethan Peterson
1af84f94de added docstring info and test 2022-08-10 08:28:18 -04:00
Paul Romano
90608665b7
Merge pull request #2154 from shimwell/adding_log_width_bins_to_energy_filter
added bin_log_width to EnergyFilter() to help with plotting
2022-08-09 21:56:22 -05:00
Jonathan Shimwell
7004ff5467 [skip ci] pep8 def spaces 2022-08-09 12:40:45 +01:00
Paul Romano
c5d47a0918
Merge pull request #2142 from shimwell/adding_specific_activity
added specific_activity to openmc.Material
2022-08-09 06:35:43 -05:00
shimwell
8c72e4b7b0 added lethargy_bin_width test 2022-08-08 22:57:32 +01:00
Jonathan Shimwell
63b517aebc
updated tests to use units args by @eepeterson
Co-authored-by: Ethan Peterson <ethan.peterson@mit.edu>
2022-08-08 14:52:35 +01:00
Patrick Shriwise
f69fc37275
Merge pull request #2150 from paulromano/fix-combine-dist-test
Bump up number of samples in test_combine_distributions
2022-08-05 11:58:28 -05:00
Paul Romano
2adf34b9a6
Merge pull request #2022 from JoffreyDorville/kalbach_mann_slope
Kalbach-Mann slope calculation for ENDF files
2022-08-05 11:51:00 -05:00
Paul Romano
abc0fd2693
Merge pull request #2100 from yardasol/transportoperator-subclass-notransport
Add class to allow running depletion simulation independent of the OpenMC transport solver
2022-08-05 08:20:26 -05:00
shimwell
496dda717c removed missing bracket 2022-08-04 23:59:51 +01:00
Jonathan Shimwell
75d82a7df7
reverting to pytest.approx
Co-authored-by: Ethan Peterson <ethan.peterson@mit.edu>
2022-08-04 23:43:42 +01:00
Ethan Peterson
39eaf9d887
Apply suggestions from code review
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
2022-08-04 16:50:18 -04:00
Jonathan Shimwell
152a149488
density set to 1.5 to test different activities scaling
Co-authored-by: Ethan Peterson <ethan.peterson@mit.edu>
2022-08-04 16:15:12 +01:00
Jonathan Shimwell
a30f9b88fd combined activity unit tests as suggested @eepeterson 2022-08-04 15:49:11 +01:00
Jonathan Shimwell
8164f309e9 added pre volume attribute tests for stable nuclide 2022-08-04 15:37:01 +01:00
Paul Romano
13c83a1c00 Bump up number of samples in test_combine_distributions 2022-08-04 08:54:20 -05:00
Paul Romano
5fc70d8a67
Merge pull request #2143 from shimwell/adding_years_to_get_time
added option for year as time units
2022-08-04 06:33:24 -05:00
Jonathan Shimwell
e4d54d49a8 moved volume lower 2022-08-04 09:39:14 +01:00
Ethan Peterson
3f3b0282f7
Merge pull request #2135 from paulromano/decay-data
Add ability to get sources from `Decay` class
2022-08-03 19:58:39 -04:00
shimwell
98c707ea07 refactor activities to single method 2022-08-03 22:46:50 +01:00
shimwell
3c22a405fe added doc strings for time_units 2022-08-02 20:29:19 +01:00
Jonathan Shimwell
aa278ada26
[skip ci] @paulromano review suggestion change "y" to "a" 2022-08-02 20:13:14 +01:00
Jonathan Shimwell
742311fd1b
[skip ci] fixed typo 2022-08-02 17:37:17 +01:00
Jonathan Shimwell
98c287b83a volume not needed when finding specific activity 2022-08-02 17:24:48 +01:00
Jonathan Shimwell
6865264abd added option for year as time units 2022-08-02 15:43:21 +01:00
Jonathan Shimwell
064426a05f added specific_activity 2022-08-02 13:17:33 +01:00
yardasol
b742258954 Merge remote-tracking branch 'upstream/develop' into transportoperator-subclass-notransport 2022-08-01 14:29:59 -05:00
Paul Romano
8a6dc7e9f8
Merge pull request #2139 from yardasol/add-nuclides-dict
`Material.add_components()` method
2022-08-01 13:53:40 -05:00
yardasol
89d79310bb revert DepletionOperator to TransportOperator; doc updates 2022-08-01 12:44:28 -05:00
yardasol
4bab1b5611 remove attribute from MicroXS; specify xs values to be in barns 2022-08-01 12:09:21 -05:00
Paul Romano
75adc68861
Merge pull request #2103 from pshriwise/vtk_umesh
Store full unstructured mesh definition and add ability to write to VTK
2022-08-01 10:20:22 -05:00
yardasol
51b1350f4a add basic unit test for initalizing CoupledOperator 2022-08-01 09:49:20 -05:00