Merge pull request #2161 from lewisgross1296/delete_tally

Add extern function to delete a tally by its index in the tallies vector
This commit is contained in:
Paul Romano 2022-08-18 08:45:07 -05:00 committed by GitHub
commit 183d9c74f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 51 additions and 3 deletions

View file

@ -460,6 +460,13 @@ Functions
:return: Return status (negative if an error occurs)
:rtype: int
.. c:function:: int openmc_remove_tally(int32_t index);
Given an index of a tally, remove it from the tallies array
:param int index: Index in tallies array
:return: Return status (negative if an error occurs)
:rtype: int
.. c:function:: int openmc_run()
Run a simulation