Commit 217c5c7d authored by Robert Smith's avatar Robert Smith
Browse files

Added names to parts in the Nek5000 Mesh Data



Edges and vertices in the Mesh Component of a Nek5000 Model Build are
now identified as "Edge #" and "Vertex #" instead of "null #".
Signed-off-by: Robert Smith's avatarRobert Smith <smithrw@ornl.gov>
parent 9b965b85
......@@ -768,6 +768,7 @@ public class NekReader {
vertex = (VertexController) factory
.createProvider(vertexComponent)
.createController(vertexComponent);
vertex.setProperty(MeshProperty.NAME, "Vertex");
vertex.setProperty(MeshProperty.ID,
Integer.toString(vertexId)); // Set unique
// ID
......@@ -818,6 +819,7 @@ public class NekReader {
edge = (EdgeController) factory
.createProvider(edgeComponent)
.createController(edgeComponent);
edge.setProperty(MeshProperty.NAME, "Edge");
edge.setProperty(MeshProperty.ID,
Integer.toString(edgeId)); // Set
// unique
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment