mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Add length multiplier to vtk writing. Refs #1872
This commit is contained in:
parent
95c1143cfc
commit
2c9ae96c1d
1 changed files with 1 additions and 1 deletions
|
|
@ -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,))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue