From a236d4c8e62f45640ffc9d67b122a0bf3a8dec79 Mon Sep 17 00:00:00 2001 From: Shikhar Kumar Date: Wed, 6 Mar 2019 19:26:19 -0500 Subject: [PATCH] Replace mention of fixed window with rolling window --- openmc/cmfd.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/openmc/cmfd.py b/openmc/cmfd.py index ee337a1be0..72aefee3ef 100644 --- a/openmc/cmfd.py +++ b/openmc/cmfd.py @@ -257,7 +257,7 @@ class CMFDRun(object): * "math" - Create adjoint matrices mathematically as the transpose of loss and production CMFD matrices - window_type : {'rolling', 'fixed', 'none'} + window_type : {'expanding', 'rolling', 'none'} Specifies type of tally window scheme to use to accumulate CMFD tallies. Options are: @@ -642,9 +642,9 @@ class CMFDRun(object): def window_size(self, window_size): check_type('CMFD window size', window_size, Integral) check_greater_than('CMFD window size', window_size, 0) - if self._window_type != 'fixed': + if self._window_type != 'rolling': warn_msg = 'Window size will have no effect on CMFD simulation ' \ - 'unless window type is set to "fixed".' + 'unless window type is set to "rolling".' warnings.warn(warn_msg, RuntimeWarning) self._window_size = window_size @@ -963,7 +963,7 @@ class CMFDRun(object): if self._window_type == 'expanding': self._reset_every = True self._window_size = 1 - # Set parameters for fixed window + # Set parameters for rolling window elif self.window_type == 'rolling': self._reset_every = True # Set parameters for default case, with no window