From 78c9c8eabbc03c402bef26f6e47436dc8310e325 Mon Sep 17 00:00:00 2001 From: Dmitri Naumov <dmitri.naumov@ufz.de> Date: Tue, 16 Sep 2014 17:33:41 +0200 Subject: [PATCH] [PL] Rename geometry and patch. geometry->geometrical_set, patch->geometry. --- ProcessLib/ProcessVariable.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ProcessLib/ProcessVariable.cpp b/ProcessLib/ProcessVariable.cpp index 058d569ef25..5b76a611625 100644 --- a/ProcessLib/ProcessVariable.cpp +++ b/ProcessLib/ProcessVariable.cpp @@ -61,15 +61,15 @@ ProcessVariable::ProcessVariable( ConfigTree const& bc_config = bc_iterator.second; // Find corresponding GeoObject + std::string const geometrical_set_name = + bc_config.get<std::string>("geometrical_set"); std::string const geometry_name = bc_config.get<std::string>("geometry"); - std::string const patch_name = - bc_config.get<std::string>("patch"); // TODO Currently only Polylines are supported for the boundary // conditions. GeoLib::GeoObject const* const geometry = geometries.getGeoObject( - geometry_name, GeoLib::GEOTYPE::POLYLINE, patch_name); + geometrical_set_name, GeoLib::GEOTYPE::POLYLINE, geometry_name); DBUG("Found geometry type \"%s\"", GeoLib::convertGeoTypeToString(geometry->getGeoType()).c_str()); -- GitLab