From 95b03d4d7c93848213c941e6a22c0fa13dc1c1cb Mon Sep 17 00:00:00 2001
From: Thomas Fischer <thomas.fischer@ufz.de>
Date: Tue, 16 Sep 2014 14:09:29 +0200
Subject: [PATCH] [PL] Using new interface for searching geometry.

---
 ProcessLib/ProcessVariable.cpp | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/ProcessLib/ProcessVariable.cpp b/ProcessLib/ProcessVariable.cpp
index 5b76a611625..6f81bd01137 100644
--- a/ProcessLib/ProcessVariable.cpp
+++ b/ProcessLib/ProcessVariable.cpp
@@ -66,10 +66,8 @@ ProcessVariable::ProcessVariable(
             std::string const geometry_name =
                 bc_config.get<std::string>("geometry");
 
-            // TODO Currently only Polylines are supported for the boundary
-            // conditions.
             GeoLib::GeoObject const* const geometry = geometries.getGeoObject(
-                    geometrical_set_name, GeoLib::GEOTYPE::POLYLINE, geometry_name);
+                    geometrical_set_name, geometry_name);
             DBUG("Found geometry type \"%s\"",
                 GeoLib::convertGeoTypeToString(geometry->getGeoType()).c_str());
 
-- 
GitLab