Commit graph

2513 commits

Author SHA1 Message Date
Paul Romano
183d9c74f6
Merge pull request #2161 from lewisgross1296/delete_tally
Add extern function to delete a tally by its index in the tallies vector
2022-08-18 08:45:07 -05:00
Paul Romano
aec246be72 Rename Tracks.write_tracks_to_vtk --> Tracks.write_to_vtk 2022-08-16 22:09:58 -05:00
Paul Romano
28b8f9ecc5 Change Operator --> CoupledOperator in a few places 2022-08-15 13:35:04 -05:00
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
Paul Romano
4c4f75f842
Merge pull request #2158 from yardasol/independent-operator-hotfix
`IndependentOperator` hotfix
2022-08-15 07:00:56 -05: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
Patrick Shriwise
bde64ed8f1
Merge pull request #14 from shimwell/adding_dagmc_unit_test
unit tests DAGMCUniverse bounding_region bounding_box
2022-08-12 08:36:04 -04:00
Jonathan Shimwell
623b867033 updated path for dagmc file 2022-08-12 10:43:40 +01:00
Paul Romano
362b4cf68a
Merge pull request #2166 from pshriwise/umesh-centroid-fix
Fix for centroid method in UnstructuredMesh class
2022-08-11 21:20:04 -05: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
Olek
22e23374dd
Apply suggestions from code review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-08-11 13:38:45 -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
Patrick Shriwise
ba72199df0 rm empty line 2022-08-11 07:58:00 -05:00
Patrick Shriwise
8791c7212e Adding check for first vertex and centroid 2022-08-11 07:48:58 -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
Patrick Shriwise
36ecaf9bd6 Adding ability to specify starting ID for surfaces of the DAGMC bounding region 2022-08-10 09:19:08 -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
yardasol
6048593ad3 update and expand deplete_no_transport test 2022-08-09 21:54:35 -05:00
Paul Romano
30c561c70e
Merge pull request #2147 from paulromano/reduced-absorption-xs
Add a new "reduced" absorption MGXS type
2022-08-09 17:05:43 -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
Paul Romano
c5a5a3b9a6 Merge branch 'develop' into reduced-absorption-xs 2022-08-08 12:17:18 -05:00
Paul Romano
6254be3758
Merge pull request #2153 from pshriwise/small_fixes
Some small fixes
2022-08-08 12:15:20 -05: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
c943128587 Add pytest request path to location of cleanup files in cpp driver test 2022-08-06 06:18:54 -05: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