Commit graph

1405 commits

Author SHA1 Message Date
Patrick Myers
2eae8b8f8b
Merge branch 'develop' into distribution-alias-sampling 2023-01-13 10:33:19 -05:00
Paul Romano
1cdb37a05c
Merge pull request #2348 from cfichtlscherer/prompt_neutrons
Prompt neutrons 2.0
2023-01-13 09:44:44 +07:00
Christopher Fichtlscherer
e266bb15bf old changes for delayed neutron feature 2023-01-11 14:50:08 -05:00
Paul Romano
e83ced88dc Change ncrystal_max_energy to be a global constant 2023-01-11 01:17:53 +07:00
Paul Romano
4eda693133 Style and spacing changes 2023-01-10 17:20:14 +07:00
Paul Romano
62af773108 Refactor NCrystal interface code to ncrystal_interface.h/cpp 2023-01-10 17:20:11 +07:00
Paul Romano
b6d6bdf3f5 Merge branch 'develop' into mixed_ncrystal_pr 2023-01-09 13:13:14 +07:00
Paul Romano
3f8f8f6701
Merge pull request #2291 from pshriwise/model-xml
Support for a single `model.xml` file
2022-12-24 13:33:27 -06:00
Paul Romano
1680a72f12
Merge pull request #2116 from ebknudsen/mcpl_input
Add support for MCPL files
2022-12-24 13:12:52 -06:00
Paul Romano
954a2bdcda Fix source definition in source_mcpl_file test 2022-12-23 11:12:46 -06:00
Paul Romano
361b3486ef Move remainder of MCPL-related code to mcpl_interface.h/cpp 2022-12-22 14:56:36 -06:00
Paul Romano
a3065b479c Move FileSource MCPL reading to mcpl_interface.h/cpp 2022-12-22 11:33:29 -06:00
Paul Romano
987293cfff Small fixes and formatting changes 2022-12-22 10:57:11 -06: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
6c3968525b Merge branch 'develop' of github.com:myerspat/openmc into distribution-alias-sampling 2022-12-20 16:46:56 -05:00
myerspat
90509d928b moved alias method to function and fixed sampling bug 2022-12-19 17:24:33 -05:00
Patrick Shriwise
916863f82a Renaming and docstring/comment updates 2022-12-07 11:02:10 -06:00
Patrick Shriwise
7fdfed22f3 Some cleanup of file utils 2022-12-06 21:49:46 -06:00
Patrick Shriwise
bc1791d367 Updates to simplify model filename checking 2022-12-06 14:40:02 -06:00
Patrick Shriwise
270331aff9 Adding function to check if a path is a directory 2022-12-06 14:39:44 -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
81aa653d50 Factoring out some common lines between reader functions 2022-12-06 13:03:38 -06:00
Patrick Shriwise
bec9bf6f20 Refactoring model read into it's own function. 2022-12-06 13:03:38 -06:00
Patrick Shriwise
040965245d Adding signatures for reading information from an XML node where necessary. 2022-12-06 13:03:38 -06:00
Paul Romano
b66d9e0a90 Add check for presence of atomic relaxation data in PhotonInteraction 2022-11-29 16:21:47 -06:00
Jose Ignacio Marquez Damian
91f939a391 Add flag for NCrystal 2022-11-18 18:26:31 +01:00
Erik B Knudsen
e224adf431
follow source code conventions
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-11-16 10:31:15 +01:00
myerspat
4072fc430b Removing excess probability vector 2022-11-12 13:31:27 -05:00
Patrick Shriwise
21a14f6eeb
Add suggestion from @paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-11-09 16:23:48 -06:00
Patrick Shriwise
8d58588341 Changing CellBorn filter name to match other class names 2022-11-05 21:20:41 -05:00
Patrick Shriwise
06fbf3fe01 Switch to use of FilterType enum for comparisons 2022-11-05 21:20:41 -05:00
Patrick Shriwise
20718f5121 Adding enumerator for filter types. 2022-11-05 21:20:41 -05:00
myerspat
b469b3a169 Added alias sampling to discrete distribution 2022-11-05 13:50:27 -04:00
Paul Romano
1a7762283d
Merge pull request #2239 from myerspat/region-refactoring
Region refactor
2022-11-04 20:12:47 -05:00
Paul Romano
647c9d185e
Update include/openmc/cell.h 2022-11-04 13:26:13 -05:00
Paul Romano
1f973e1ebe Change version number to 0.13.3-dev 2022-10-21 12:00:58 -05:00
Paul Romano
4fd665c008 Remove -dev on version number 2022-10-21 07:08:53 -05:00
Paul Romano
3347aeaa03 Fixes related to #2253 and #2270 2022-10-21 07:08:49 -05:00
Paul Romano
9bf069e636
Merge pull request #2270 from pshriwise/vol-lrg-samples
Update volume calc types to mitigate overflow issues
2022-10-21 07:01:32 -05:00
Paul Romano
dc0731c949
Merge pull request #2253 from gridley/buildinfo
Can now print some build info
2022-10-21 07:00:04 -05:00
Thomas Kittelmann
f2e807e942 Move NCrystalRNGWrapper data member into explicit private section as requested 2022-10-21 10:40:30 +02:00
Jose Ignacio Marquez Damian
5afcc9e49b Apply clang-format 2022-10-21 10:40:30 +02:00
Jose Ignacio Marquez Damian
2e19260dea Implement recommended changes 2022-10-21 10:40:30 +02:00
Jose Ignacio Marquez Damian
29a10eafd3 Removed MacroNCrystalXS
This was left from a previous implementation. Now it is not needed because NCrystal just takes over all neutron scattering events below a given energy threshold.
2022-10-21 10:40:30 +02:00
Jose Ignacio Marquez Damian
70d5c76ebd Fixed material.h 2022-10-21 10:40:30 +02:00
Jose Ignacio Marquez Damian
9c54ac0b6b Fix access to private attributes 2022-10-21 10:40:30 +02:00
Jose Ignacio Marquez Damian
0e0cd0a22d Added hooks for NCrystal 2022-10-21 10:40:30 +02:00
Patrick Shriwise
06729507ce Moving to uint64_t and updating MPI types as requested by @paulromano 2022-10-20 20:46:47 -05:00
Patrick Shriwise
2a802a11a4 Add warning of possible overflow. 2022-10-19 13:23:26 -05:00