mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Merge pull request #2377 from shimwell/adding_volume_to_material_repr
added volume information to material repr
This commit is contained in:
commit
beea906e00
1 changed files with 2 additions and 0 deletions
|
|
@ -143,6 +143,8 @@ class Material(IDManagerMixin):
|
|||
string += '{: <16}=\t{}'.format('\tDensity', self._density)
|
||||
string += f' [{self._density_units}]\n'
|
||||
|
||||
string += '{: <16}=\t{} [cm^3]\n'.format('\tVolume', self._volume)
|
||||
|
||||
string += '{: <16}\n'.format('\tS(a,b) Tables')
|
||||
|
||||
if self._ncrystal_cfg:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue