C-API bindings for key random ray functions#3749
C-API bindings for key random ray functions#3749nuclearkevin wants to merge 6 commits intoopenmc-dev:developfrom
Conversation
|
Do we currently have a way in the CI to test the C-API calls? I'm guessing not, but if we happen to already be testing other portions of the C-API, then might as well here, too. |
|
In this case the C-API functions are getting implicitly hit by all of the random ray tests, as the C-API functions are used when resetting and running the random ray solver in OpenMC proper. I can definitely add a test for |
- This is handled in openmc_finalize - Also rename openmc_reset_random_ray to openmc_finalize_random_ray (more clear IMO)
|
Added a test for Additionally, I renamed |
d4a9424 to
943f5c0
Compare
200b0cb to
8cb47b9
Compare
Description
This brief PR adds the random ray run function to the C-API, with inclusions in the
openmc.libPython bindings. This provides a frontend for wrapper applications which want to expose the random ray solver for multiphysics.Checklist