Commit graph

1359 commits

Author SHA1 Message Date
Patrick Shriwise
26c031a041 Run tests in tmpdir to keep repo clean 2023-03-27 16:54:42 -05:00
Patrick Shriwise
63fa42843b Removing unused print statements 2023-03-27 16:50:18 -05:00
Patrick Shriwise
ab403b2fc8 Improvements to tests 2023-03-27 16:48:35 -05:00
Patrick Shriwise
13a9e8fae4 Adding tests with void geometry for cylindrical and spherical mesh 2023-03-27 16:48:35 -05:00
Patrick Shriwise
52f8618dab
Merge pull request #2439 from paulromano/cyl-sph-mesh-coincident-bugfix
Fix bug in cylindrical and spherical meshes when grid boundary is coincident with cell boundary
2023-03-25 20:58:32 -05:00
Paul Romano
5b7fb427d3
Apply @pshriwise suggestion adding 0.1 to scale
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
2023-03-25 15:36:11 -05:00
Paul Romano
2630dbf4bc
Merge pull request #2362 from eepeterson/polygon_fix
try to constrain triangulation
2023-03-25 15:30:42 -05:00
Paul Romano
c5fd211bb2
Merge pull request #2436 from kkiesling/hybrid_depletion_tally
Fix hybrid depletion direct tally error if nuclides are not present in material
2023-03-25 12:07:43 -05:00
Paul Romano
2aef18c02a Loosen tolerance on coincidence check for cyl/sph meshes and parametrize tests 2023-03-25 11:55:53 -05:00
Kalin Kiesling
2d6938553a
Update tests/unit_tests/test_deplete_activation.py
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-03-25 09:13:58 -05:00
Kalin Kiesling
7f68462e3a add nuclide that is not in model; (fails locally) 2023-03-23 15:43:18 -05:00
Paul Romano
10787a2da6 Account for coincident position in find_r_crossing 2023-03-23 13:37:26 -05:00
Ethan Peterson
572e765e90
Merge pull request #2256 from RemDelaporteMathurin/centre_for_cylinder_spherical_meshes
Centre for cylinder & spherical meshes
2023-03-23 00:01:30 -04:00
Paul Romano
3f2831cc13
Merge pull request #2413 from shimwell/plotting_with_automatic_data_type
removing need for user to specify data_type arg when plotting xs
2023-03-22 15:38:29 -05:00
Rémi Delaporte-Mathurin
10f2a945ca
Merge branch 'develop' into centre_for_cylinder_spherical_meshes 2023-03-22 10:08:32 -04:00
Paul Romano
341cb9eb11
Merge pull request #2417 from pshriwise/spherical-mesh-fixes
Spherical to Cartesian coordinate conversion correction for VTK files
2023-03-21 22:27:53 -05:00
shimwell
17e9918f5d removed most deprecated types 2023-03-21 21:51:40 +00:00
Patrick Shriwise
9b708e7ad4
Apply suggestions from @paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-03-21 14:55:42 -05:00
Jonathan Shimwell
d678b39e69
Merge pull request #2412 from paulromano/material-volume-args
Add volume arguments on several methods in Material class
2023-03-17 14:05:01 +00:00
Patrick Shriwise
2d573c3fa1
Merge branch 'develop' into centre_for_cylinder_spherical_meshes 2023-03-16 11:26:40 -05:00
Patrick Shriwise
285edc77b9 Corrections after rebase 2023-03-08 22:47:40 -06:00
Patrick Shriwise
ae57ad0e5b Improving test coverage for mesh to vtk capability 2023-03-08 17:29:06 -06:00
Patrick Shriwise
c487090b3f Correcting spherical to cartesian coordinate conversion 2023-03-08 17:29:04 -06:00
Jonathan Shimwell
9768e34b86
Merge pull request #2397 from pshriwise/mesh-vtk-fixes
`write_data_to_vtk` volume normalization correction
2023-03-07 20:19:07 +00:00
RemDelaporteMathurin
024c51a1ff Merge branch 'centre_for_cylinder_spherical_meshes' of https://github.com/RemDelaporteMathurin/openmc into centre_for_cylinder_spherical_meshes 2023-03-07 14:37:49 -05:00
RemDelaporteMathurin
ab4237c037 use get_reshaped_data in tests 2023-03-07 14:36:07 -05:00
shimwell
1a9449debc finding data_type arg automatically 2023-03-06 20:36:34 +00:00
Patrick Shriwise
527f5f70aa
Merge branch 'develop' into centre_for_cylinder_spherical_meshes 2023-03-06 13:37:24 -06:00
Paul Romano
c1232a83e0 Add volume arguments on several methods in Material class 2023-03-03 15:08:17 -06:00
shimwell
7f16f46bed material and plot_xs tests for plotter.py 2023-03-02 23:52:00 +00:00
shimwell
33f9ab7083 testing muliple reactions for elements+nuclides 2023-03-02 22:14:14 +00:00
shimwell
f34b37bb4f added test for element and nuclide plot 2023-03-02 22:07:49 +00:00
Patrick Shriwise
728f48c2ae Adding another test that uses VTK to gather the data directly.
Co-authored-by: Jonathan Shimwell <jonathan.shimwell@firstlightfusion.com>
2023-03-01 00:33:24 -06:00
Patrick Shriwise
70b743e5ed Add test of volume normalization ordering 2023-02-23 23:59:46 -06:00
Patrick Shriwise
a528de2976
Merge pull request #2381 from paulromano/anisotropic-fission
Use correct direction for anisotropic fission and update numpy version for tests
2023-02-20 12:37:08 -06:00
Patrick Shriwise
7aaf114d8e
Merge pull request #2388 from shimwell/moving_gau_method_up_one_layer
testing get_all_universes is in DAGMCUniverse
2023-02-20 12:36:53 -06:00
Jonathan Shimwell
9e88e706fe testing get_all_universes is in DAGMCUniverse 2023-02-16 16:20:44 +00:00
Paul Romano
61b30f5dcc
Merge pull request #2334 from pshriwise/umesh_sampling
Unstructured Mesh Sampling Updates
2023-02-16 07:24:13 -06:00
Paul Romano
091241070f Update test results with numpy 1.24 and anisotropic fission 2023-02-10 12:21:42 -06:00
Paul Romano
f8c8e37342
Merge pull request #2371 from shimwell/adding_tabular_to_energy_filter
added get_tabular method to energyfilters
2023-02-10 06:54:39 -06:00
Jonathan Shimwell
eaddf91b65
Adding zero to end of test results
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-02-09 21:19:11 +00:00
Paul Romano
89ad9afedf
Merge pull request #2352 from joshmay1/universe_cloning
Instantiate new cloned universes instead of deepcopying
2023-02-09 14:55:00 -06:00
Jonathan Shimwell
853ef5ea49
2nd round of review improvments from paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-02-09 19:51:46 +00:00
Jonathan Shimwell
8a5a520106
code review improvments from @paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-02-09 17:38:33 +00:00
Patrick Shriwise
af16239684 Updating mesh centre tests. 2023-02-08 10:17:59 -06:00
Ethan Peterson
61efad0a8d added test and expand_dims kwarg 2023-02-07 14:13:46 -05:00
Ethan Peterson
c07386fc62 added more tests for Polygon class 2023-02-05 22:15:10 -05:00
Patrick Shriwise
fc67b38ba4 Adding roundtrip test for mesh sampling 2023-02-03 20:11:35 -06:00
Patrick Shriwise
cf8cd62961
Update tests/unit_tests/test_source_mesh.py
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-02-03 19:32:41 -06:00
Paul Romano
dbbad687eb Don't call normalize inside Tabular.mean 2023-02-03 08:32:05 -06:00