Add length multiplier to vtk writing. Refs #1872

This commit is contained in:
aprilnovak 2021-09-15 10:27:10 -05:00
parent 95c1143cfc
commit 2c9ae96c1d

View file

@ -784,7 +784,7 @@ class UnstructuredMesh(MeshBase):
for centroid in self.centroids:
# create a point for each centroid
point_id = points.InsertNextPoint(centroid)
point_id = points.InsertNextPoint(centroid * self.length_multiplier)
# create a cell of type "Vertex" for each point
cell_id = vertices.InsertNextCell(cell_dim, (point_id,))