mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Add length multiplier to from_xml. Refs #1872
This commit is contained in:
parent
2c9ae96c1d
commit
58dd23b06a
1 changed files with 2 additions and 1 deletions
|
|
@ -879,5 +879,6 @@ class UnstructuredMesh(MeshBase):
|
|||
mesh_id = int(get_text(elem, 'id'))
|
||||
filename = get_text(elem, 'filename')
|
||||
library = get_text(elem, 'library')
|
||||
length_multiplier = float(get_text(elem, 'length_multiplier', 1.0))
|
||||
|
||||
return cls(filename, library, mesh_id)
|
||||
return cls(filename, library, mesh_id, '', length_multiplier)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue