mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Merge branch 'delete_tally' of github.com:lewisgross1296/openmc into delete_tally
forgot to pull committed changes from PR on GitHub
This commit is contained in:
commit
94b6172bb5
2 changed files with 2 additions and 2 deletions
|
|
@ -118,7 +118,7 @@ int openmc_regular_mesh_get_params(
|
|||
int openmc_regular_mesh_set_dimension(int32_t index, int n, const int* dims);
|
||||
int openmc_regular_mesh_set_params(int32_t index, int n, const double* ll,
|
||||
const double* ur, const double* width);
|
||||
int openmc_remove_tally(int32_t id);
|
||||
int openmc_remove_tally(int32_t index);
|
||||
int openmc_reset();
|
||||
int openmc_reset_timers();
|
||||
int openmc_run();
|
||||
|
|
|
|||
|
|
@ -402,7 +402,7 @@ class _TallyMapping(Mapping):
|
|||
def __repr__(self):
|
||||
return repr(dict(self))
|
||||
|
||||
def __delitem__(self,key):
|
||||
def __delitem__(self, key):
|
||||
"""Delete a tally from tally vector and remove the ID,index pair from tally"""
|
||||
_dll.openmc_remove_tally(self._get_tally_index(key))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue