mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Renaming external function.
This commit is contained in:
parent
64d54c692d
commit
7d98804bca
1 changed files with 1 additions and 1 deletions
|
|
@ -177,7 +177,7 @@ _dll.openmc_id_map.argtypes= [POINTER(_Plot),]
|
|||
_dll.openmc_id_map.restype = c_int
|
||||
_dll.openmc_id_map.errcheck = _error_handler
|
||||
|
||||
def image_data_for_plot(plot):
|
||||
def id_map(plot):
|
||||
img_data = np.zeros((plot.pixels_[0], plot.pixels_[1], 2), dtype=np.dtype('int32'))
|
||||
out = _dll.openmc_id_map(POINTER(_Plot)(plot), img_data.ctypes.data_as(POINTER(c_int32)))
|
||||
return img_data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue