mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Fixed bug in subdomain avg multi-group xs for single subdomains
This commit is contained in:
parent
006358dacc
commit
b979a19f73
1 changed files with 1 additions and 1 deletions
|
|
@ -668,7 +668,7 @@ class MultiGroupXS(object):
|
|||
elif self.domain_type == 'distribcell':
|
||||
subdomains = np.arange(self.num_subdomains)
|
||||
else:
|
||||
subdomains = [self.domain.id]
|
||||
subdomains = [0]
|
||||
|
||||
# Clone this MultiGroupXS to initialize the subdomain-averaged version
|
||||
avg_xs = copy.deepcopy(self)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue