mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Ensuring that surface names are read from the HDF5 format.
This commit is contained in:
parent
ef70e12142
commit
25cf7a3e97
1 changed files with 1 additions and 0 deletions
|
|
@ -432,6 +432,7 @@ class Surface(IDManagerMixin, ABC):
|
|||
kwargs = {}
|
||||
kwargs['surface_id'] = int(elem.get('id'))
|
||||
kwargs['boundary_type'] = elem.get('boundary', 'transmission')
|
||||
kwargs['name'] = elem.get('name')
|
||||
coeffs = [float(x) for x in elem.get('coeffs').split()]
|
||||
kwargs.update(dict(zip(cls._coeff_keys, coeffs)))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue