Paul Romano
b41e22f68b
Refactor ParticleType to use PDG Monte Carlo numbering scheme ( #3756 )
...
Co-authored-by: GuySten <62616591+GuySten@users.noreply.github.com>
Co-authored-by: Amanda Lund <alund1187@gmail.com>
2026-02-03 07:23:24 +00:00
GuySten
4500f07b44
Remove reorder_attributes from openmc._xml ( #3519 )
2025-08-08 16:59:22 +07:00
Paul Romano
579777a3e5
Consistency in treatment of paths for files specified within the Model class ( #3153 )
2024-10-10 12:17:40 -05:00
Gavin Ridley
b53b601edc
Tiny updates from experience building on Mac ( #2894 )
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-04-20 05:44:40 +00:00
Patrick Shriwise
eda39ad9ca
Python source class refactor ( #2524 )
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-06-20 21:27:55 -05:00
Patrick Myers
1cb22075ef
Changed xml to lxml ( #2489 )
2023-05-09 10:41:04 -05:00
Ethan Peterson
11e618fe81
adding export_to_xml to run and updating tests
2023-03-24 18:54:54 -04:00
Gavin Ridley
061156e79a
address PR comments
2021-05-03 18:03:06 -04:00
Gavin Ridley
2af4c9cd92
use base class to handle layout of particle data
2021-05-03 17:57:41 -04:00
Paul Romano
9af5541e88
Make Source::sample() method const
2020-10-27 10:02:03 -05:00
Paul Romano
0bb39005bc
Rename source classes
2020-10-23 14:11:34 -05:00
Paul Romano
713469bf59
Make regular source distributions obey the same interface as custom sources
2020-10-22 15:07:28 -05:00
Dan Short
21e8d91e90
Requested updates to source
...
Rename sample_source -> sample.
Use std::string as type of argument to openmc_create_source.
Use reinterpret_cast when accessing dlsym.
Also moves check for dlerror to be before the attempt to create the
source (avoids null reference if fails) and capture error message
before dlclose, so that the error message is still available.
Formatting updates and some refactoring for examples and tests.
2020-08-28 09:49:36 +01:00
Dan Short
821e7d9825
Remove old source_sampling custom source method
...
Custom sources are now created only through the new class-based method,
which supports parameterization.
New method also slightly adjusted to create the source as managed by a
unique_ptr.
Examples and tests updated to align with this approach.
Documentation updated.
2020-08-21 12:05:43 +01:00
Patrick Shriwise
00fffc8590
Updating the cpp driver test to include testing of the new set_temperature behavior. Includes a fix to the dynamic source test to remove the CMake file as well.
2020-05-19 15:42:48 -05:00
Paul Romano
030a587325
Get the source_dlopen test working
2020-02-19 16:26:48 -06:00
Andrew Davis
faf454c344
updated test to use new build method
2020-02-19 07:48:21 +00:00
Andrew Davis
f3dbc24964
updated test signature
2020-02-18 09:22:09 +00:00
Andrew Davis
7f1f675c87
try adding an init py file
2020-02-12 12:37:21 +00:00
Andrew Davis
e4b0b4f276
Added regression tests for dlopen source
2020-02-12 12:37:21 +00:00