mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Removed references to Greek letters in MultiGroupXS latex generatoin
This commit is contained in:
parent
442e0d88e9
commit
fa86ae2fbb
1 changed files with 1 additions and 16 deletions
|
|
@ -30,20 +30,6 @@ DOMAINS = [openmc.Cell,
|
|||
openmc.Material,
|
||||
openmc.Mesh]
|
||||
|
||||
# LaTeX Greek symbols for each cross-section type
|
||||
GREEK = dict()
|
||||
GREEK['total'] = '$\\Sigma_{t}$'
|
||||
GREEK['transport'] = '$\\Sigma_{tr}$'
|
||||
GREEK['absorption'] = '$\\Sigma_{a}$'
|
||||
GREEK['capture'] = '$\\Sigma_{c}$'
|
||||
GREEK['scatter'] = '$\\Sigma_{s}$'
|
||||
GREEK['nu-scatter'] = '$\\nu\\Sigma_{s}$'
|
||||
GREEK['scatter matrix'] = '$\\Sigma_{s}$'
|
||||
GREEK['nu-scatter matrix'] = '$\\nu\\Sigma_{s}$'
|
||||
GREEK['fission'] = '$\\Sigma_{f}$'
|
||||
GREEK['nu-fission'] = '$\\nu\\Sigma_{f}$'
|
||||
GREEK['chi'] = '$\\chi$'
|
||||
|
||||
|
||||
class MultiGroupXS(object):
|
||||
"""A multi-group cross-section for some energy group structure within
|
||||
|
|
@ -775,8 +761,6 @@ class MultiGroupXS(object):
|
|||
'data to a LaTeX table'
|
||||
raise NotImplementedError(msg)
|
||||
|
||||
# FIXME: Insert greek letters
|
||||
|
||||
df.to_latex(filename + '.tex', bold_rows=True,
|
||||
longtable=True, index=False)
|
||||
|
||||
|
|
@ -793,6 +777,7 @@ class MultiGroupXS(object):
|
|||
modified.write(data)
|
||||
modified.write('\n\\end{document}')
|
||||
|
||||
|
||||
def get_pandas_dataframe(self, groups='indices', summary=None):
|
||||
"""Build a Pandas DataFrame for the MultiGroupXS data.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue