Commit graph

3297 commits

Author SHA1 Message Date
Paul Romano
954a2bdcda Fix source definition in source_mcpl_file test 2022-12-23 11:12:46 -06:00
Paul Romano
a178f5f85a Use raw f-string in test_mesh_to_vtk.py 2022-12-23 10:55:58 -06:00
Paul Romano
a5bdbd3adb Address a few warnings from tests 2022-12-23 00:07:02 -06:00
Paul Romano
ecfa94e0ff Rename gnd_name to gnds_name. Change GND to GNDS in comments 2022-12-23 00:06:50 -06:00
Paul Romano
731eff8817 Update source_mcpl_file test result 2022-12-22 14:56:40 -06:00
Paul Romano
47848b79ab Allow Settings.sourcepoint['mcpl'] to be set 2022-12-22 14:56:40 -06:00
Erik B Knudsen
51d3a0c2ce check for mcpl-input is in the cpp-layer now 2022-12-22 17:19:56 +01:00
Erik B Knudsen
e9c6b03b9e remove dead code 2022-12-22 17:17:50 +01:00
Erik B Knudsen
fe19cfcdd2 set seed to get a deterministic test and set result 2022-12-22 17:16:16 +01:00
erkn
ff48f53595 skip mcpl-test if it is not enabled
patterned after the dagmc-tests
This required the MCPL_ENABLED symbol to be unmangled
2022-12-22 12:04:29 +01:00
myerspat
dd569c616c increased stdev width to 4 2022-12-21 16:59:04 -05:00
myerspat
19c807ade2 updated regression tests 2022-12-21 10:15:14 -05:00
myerspat
6c3968525b Merge branch 'develop' of github.com:myerspat/openmc into distribution-alias-sampling 2022-12-20 16:46:56 -05:00
myerspat
748e7da3f9 added test for xml node Discrete constructor 2022-12-19 17:25:20 -05:00
Paul Romano
4e49f69f02
Merge pull request #2320 from paulromano/from-njoy-high-t-fix
Fix `IncidentNeutron.from_njoy` for high temperatures
2022-12-15 16:22:43 -06:00
Patrick Shriwise
f3bcad37b7 Addressing comments from @paulromano 2022-12-12 21:30:05 -06:00
Patrick Shriwise
145594ebb8
Apply @paulromano suggestions from code review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-12-12 20:23:49 -06:00
Paul Romano
a8a6f6c49b
Merge pull request #2323 from joshmay1/unset_temp
Add capability to unset cell temperatures
2022-12-09 07:19:07 -06:00
Thomas Kittelmann
a86e74f59a Rename compute_angular_distribution to pencil_beam_model 2022-12-07 12:51:31 +01:00
Thomas Kittelmann
f2c28706a6
Apply suggestions from code review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-12-07 10:12:23 +01:00
Patrick Shriwise
7873b4d6c1
Update tests/regression_tests/model_xml/test.py
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-12-06 21:50:49 -06:00
Patrick Shriwise
939adbe70e Updating tests to reflect changes to API 2022-12-06 14:41:26 -06:00
Patrick Shriwise
2c27d1065a Moving other relevant XML reorder calls and updating expected input again. 2022-12-06 13:03:38 -06:00
Patrick Shriwise
83cf6848d0 Updating expected inputs with reordering 2022-12-06 13:03:38 -06:00
Patrick Shriwise
7f5d2a5839 Refactoring model_xml regression tests a bit and adding input checking 2022-12-06 13:03:38 -06:00
Patrick Shriwise
72ff942226 Checking RuntimeError message correctly 2022-12-06 13:03:38 -06:00
Patrick Shriwise
b3225be24d Adding executor tests 2022-12-06 13:03:38 -06:00
Patrick Shriwise
5d1ead2e6a Addressing some more PR comments. A couple of typo fixes too. 2022-12-06 13:03:38 -06:00
Patrick Shriwise
6f7a6febd3 Updating model XML file format w/ indentation. 2022-12-06 13:03:38 -06:00
Patrick Shriwise
fe47d565fd Spot check in error message from failed run 2022-12-06 13:03:38 -06:00
Patrick Shriwise
366f9e905c Test comment and updated error messages 2022-12-06 13:03:38 -06:00
Patrick Shriwise
d9847163e8 Adding ability to specify an input filename to the executable or to the python exec 2022-12-06 13:03:38 -06:00
Patrick Shriwise
b76825fa9f Addressing some comments from PR 2022-12-06 13:03:38 -06:00
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
662d83a7dd Running some existing regression tests using single XML file 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
Paul Romano
db6a818a56 Ensure complex cell test case covers need for adding precedence 2022-12-05 10:35:24 -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
Paul Romano
33ead74209
Merge pull request #2302 from yardasol/depletion-statepoints-fix
Fix zero-valued `runtime` attribute in depletion statepoints.
2022-11-23 05:07:12 -08:00
Olek
8163d7a759 use defaultdict
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-11-22 07:32:48 -06: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
yardasol
d45c37b206 Add test for runtime attribute on depletion statepoints 2022-11-18 15:54:55 -06:00
Jose Ignacio Marquez Damian
91f939a391 Add flag for NCrystal 2022-11-18 18:26:31 +01: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
Jose Ignacio Marquez Damian
24572a71f2 Added simple NCrystal test 2022-11-17 16:33:48 +01:00
Paul Romano
d6a4a3ecb9 Produce light particles from decay 2022-11-16 23:07:52 -06:00