Add length multiplier to from_xml. Refs #1872

This commit is contained in:
aprilnovak 2021-09-15 10:31:15 -05:00
parent 2c9ae96c1d
commit 58dd23b06a

View file

@ -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)