mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Add optional instance argument for openmc_cell_set_temperature
This commit is contained in:
parent
14226862f3
commit
712352c8e1
3 changed files with 27 additions and 8 deletions
|
|
@ -8,7 +8,7 @@ C API
|
|||
|
||||
Run a stochastic volume calculation
|
||||
|
||||
.. c:function:: int openmc_cell_set_temperature(int id, double T)
|
||||
.. c:function:: int openmc_cell_set_temperature(int id, double T, int* instance)
|
||||
|
||||
Set the temperature of a cell.
|
||||
|
||||
|
|
@ -16,6 +16,9 @@ C API
|
|||
:type id: int
|
||||
:param T: Temperature in Kelvin
|
||||
:type T: double
|
||||
:param instance: Which instance of the cell. To set the temperature for all
|
||||
instances, pass a null pointer.
|
||||
:type instance: int*
|
||||
:return: Return status (negative if an error occurred)
|
||||
:rtype: int
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue