From f1c17ad150ac4ca524995fe9e41e0c0451e7e9e2 Mon Sep 17 00:00:00 2001 From: Adam Nelson Date: Sun, 26 Feb 2017 15:00:57 -0500 Subject: [PATCH] missing setting of prompt in NuFissionMatrixXS --- openmc/mgxs/mgxs.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/openmc/mgxs/mgxs.py b/openmc/mgxs/mgxs.py index 92c449f70b..10e10738e2 100644 --- a/openmc/mgxs/mgxs.py +++ b/openmc/mgxs/mgxs.py @@ -4669,6 +4669,16 @@ class NuFissionMatrixXS(MatrixMGXS): self._hdf5_key = 'prompt-nu-fission matrix' self._estimator = 'analog' self._valid_estimators = ['analog'] + self.prompt = prompt + + @property + def prompt(self): + return self._prompt + + @prompt.setter + def prompt(self, prompt): + cv.check_type('prompt', prompt, bool) + self._prompt = prompt def __deepcopy__(self, memo): clone = super(NuFissionMatrixXS, self).__deepcopy__(memo)