Skip to content

Commit c957b41

Browse files
committed
Add density multipliers to the OpenMC lib python bindings.
1 parent 57fc041 commit c957b41

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

openmc/lib/cell.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@
3434
c_int32, POINTER(c_int32), POINTER(c_double)]
3535
_dll.openmc_cell_get_temperature.restype = c_int
3636
_dll.openmc_cell_get_temperature.errcheck = _error_handler
37+
_dll.openmc_cell_get_density_mult.argtypes = [
38+
c_int32, POINTER(c_int32), POINTER(c_double)]
39+
_dll.openmc_cell_get_density_mult.restype = c_int
40+
_dll.openmc_cell_get_density_mult.errcheck = _error_handler
3741
_dll.openmc_cell_get_name.argtypes = [c_int32, POINTER(c_char_p)]
3842
_dll.openmc_cell_get_name.restype = c_int
3943
_dll.openmc_cell_get_name.errcheck = _error_handler
@@ -58,6 +62,10 @@
5862
c_int32, c_double, POINTER(c_int32), c_bool]
5963
_dll.openmc_cell_set_temperature.restype = c_int
6064
_dll.openmc_cell_set_temperature.errcheck = _error_handler
65+
_dll.openmc_cell_set_density_mult.argtypes = [
66+
c_int32, c_double, POINTER(c_int32), c_bool]
67+
_dll.openmc_cell_set_density_mult.restype = c_int
68+
_dll.openmc_cell_set_density_mult.errcheck = _error_handler
6169
_dll.openmc_cell_set_translation.argtypes = [c_int32, POINTER(c_double)]
6270
_dll.openmc_cell_set_translation.restype = c_int
6371
_dll.openmc_cell_set_translation.errcheck = _error_handler

0 commit comments

Comments
 (0)