Commit 5fc9f1c9 authored by Robert Smith's avatar Robert Smith
Browse files

Updated EAVP references



Updated references to EAVP to reflect that PointMesh now uses the
general getTranslation() function in place of the old getLocation()
function.
Signed-off-by: Robert Smith's avatarRobert Smith <SmithRW@ornl.gov>
parent 48faa763
......@@ -218,7 +218,7 @@ public class MeshElementTreeViewPropertySource extends PropertySource {
// Get the vertex's location
if (ID_LOCATION.equals(id)) {
double[] loc = vertex.getLocation();
double[] loc = vertex.getTranslation();
for (int i = 0; i < loc.length; i++) {
propertySet.add(((Double) loc[i]).toString());
}
......
......@@ -450,8 +450,8 @@ public class NekWriter implements IComponentVisitor {
// Extract the x, y coordinates of the Quad's vertices
for (int k = 0; k < 4; k++) {
xCoords.add((float) currVertices.get(k).getLocation()[0]);
yCoords.add((float) currVertices.get(k).getLocation()[1]);
xCoords.add((float) currVertices.get(k).getTranslation()[0]);
yCoords.add((float) currVertices.get(k).getTranslation()[1]);
}
// Iterate through the Edges of the current Quad
......
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