Have openmc_tally_results accept ID instead of array index

This commit is contained in:
Paul Romano 2017-07-04 14:44:21 -05:00
parent 9d456c3ff1
commit 14226862f3
2 changed files with 9 additions and 6 deletions

View file

@ -124,12 +124,12 @@ C API
:return: Return status (negative if an error occurs)
:rtype: int
.. c:function:: void openmc_tally_results(int i, double** ptr, int shape_[3])
.. c:function:: void openmc_tally_results(int id, double** ptr, int shape_[3])
Get a pointer to tally results array.
:param i: Index in the tallies array
:type i: int
:param id: ID of the tally
:type id: int
:param ptr: Pointer to the results array
:type ptr: double**
:param shape_: Shape of the results array