mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Removed no unused correction parameter to ScatterMatrixXS.compute_xs(...) routine
This commit is contained in:
parent
046f80c309
commit
6e3deb8f3c
1 changed files with 2 additions and 10 deletions
|
|
@ -1715,17 +1715,9 @@ class ScatterMatrixXS(MGXS):
|
|||
cv.check_value('correction', correction, ('P0', None))
|
||||
self._correction = correction
|
||||
|
||||
def compute_xs(self, correction='P0'):
|
||||
def compute_xs(self):
|
||||
"""Computes the multi-group scattering matrix using OpenMC
|
||||
tally arithmetic.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
correction : {'P0' or None}
|
||||
If 'P0', applies the P0 transport correction to the diagonal of the
|
||||
scattering matrix.
|
||||
|
||||
"""
|
||||
tally arithmetic."""
|
||||
|
||||
# If using P0 correction subtract scatter-P1 from the diagonal
|
||||
if self.correction == 'P0':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue