mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Propagate attribute to openmc.mgxs
This commit is contained in:
parent
eefe563f08
commit
6ee22ed061
2 changed files with 2 additions and 2 deletions
|
|
@ -877,7 +877,7 @@ class MDGXS(MGXS):
|
|||
# energy groups such that data is from fast to thermal
|
||||
if self.domain_type == 'mesh':
|
||||
mesh_str = f'mesh {self.domain.id}'
|
||||
mesh_cols = [(mesh_str, label) for label in self.domain._axis_labels]
|
||||
mesh_cols = [(mesh_str, label) for label in self.domain.axis_labels]
|
||||
df.sort_values(by=mesh_cols + columns, inplace=True)
|
||||
else:
|
||||
df.sort_values(by=[self.domain_type] + columns, inplace=True)
|
||||
|
|
|
|||
|
|
@ -2134,7 +2134,7 @@ class MGXS:
|
|||
# energy groups such that data is from fast to thermal
|
||||
if self.domain_type == 'mesh':
|
||||
mesh_str = f'mesh {self.domain.id}'
|
||||
mesh_cols = [(mesh_str, label) for label in self.domain._axis_labels]
|
||||
mesh_cols = [(mesh_str, label) for label in self.domain.axis_labels]
|
||||
df.sort_values(by=mesh_cols + columns, inplace=True)
|
||||
else:
|
||||
df.sort_values(by=[self.domain_type] + columns, inplace=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue