mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Have openmc_tally_results accept ID instead of array index
This commit is contained in:
parent
9d456c3ff1
commit
14226862f3
2 changed files with 9 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue