From 20837e05c60e85c51a74fd48fbba029c73c48607 Mon Sep 17 00:00:00 2001 From: Thomas Fischer <thomas.fischer@ufz.de> Date: Mon, 18 May 2015 08:55:33 +0200 Subject: [PATCH] [FileIO] Using Point instead of PointWithID. --- FileIO/FEFLOWInterface.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/FileIO/FEFLOWInterface.cpp b/FileIO/FEFLOWInterface.cpp index 3a2a0664131..e71ad264c1f 100644 --- a/FileIO/FEFLOWInterface.cpp +++ b/FileIO/FEFLOWInterface.cpp @@ -26,7 +26,7 @@ #include "Elements/Tri.h" // GeoLib -#include "GeoLib/PointWithID.h" +#include "GeoLib/Point.h" namespace FileIO { @@ -372,11 +372,11 @@ void FEFLOWInterface::readPoints(QDomElement &nodesEle, const std::string &tag, if (line_str.empty()) continue; std::istringstream line_ss(line_str); size_t pt_id = 0; - double pt_xyz[3] = { }; + std::array<double,3> pt_xyz; line_ss >> pt_id; for (int i = 0; i < dim; i++) line_ss >> pt_xyz[i]; - points[pt_id - 1] = new GeoLib::PointWithID(pt_xyz, pt_id); + points[pt_id - 1] = new GeoLib::Point(pt_xyz, pt_id); } } -- GitLab