diff --git a/ProcessLib/ProcessVariable.cpp b/ProcessLib/ProcessVariable.cpp index 058d569ef25e4e4f5155b171478692345aecfc2b..5b76a611625b9de5ee53ddf1aacae29fa569b914 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());