From c3000544d623383539f71bd0dc8180dbbac115f8 Mon Sep 17 00:00:00 2001 From: Timo Koch <timo.koch@iws.uni-stuttgart.de> Date: Wed, 11 Mar 2020 20:05:15 +0100 Subject: [PATCH] [cleanup] Remove deprecated convex hull interfaces --- dumux/common/geometry/grahamconvexhull.hh | 30 ----------------------- 1 file changed, 30 deletions(-) diff --git a/dumux/common/geometry/grahamconvexhull.hh b/dumux/common/geometry/grahamconvexhull.hh index d8545715f4..3ed273d9e8 100644 --- a/dumux/common/geometry/grahamconvexhull.hh +++ b/dumux/common/geometry/grahamconvexhull.hh @@ -213,36 +213,6 @@ std::vector<Dune::FieldVector<ctype, dimWorld>> grahamConvexHull(const std::vect return grahamConvexHullImpl<dim>(copyPoints); } -// deprecated interfaces -#ifndef DOXYGEN -template<class ctype> -[[deprecated("Use grahamConvexHull<dim> with dim as template argument. Will be removed after 3.1")]] -std::vector<Dune::FieldVector<ctype, 3>> -grahamConvexHull2d3d(const std::vector<Dune::FieldVector<ctype, 3>>& points) -{ - auto copyPoints = points; - return grahamConvexHull<2>(copyPoints); -} - -template<class ctype> -[[deprecated("Use grahamConvexHull<dim> with dim as template argument. Will be removed after 3.1")]] -std::vector<Dune::FieldVector<ctype, 3>> -grahamConvexHull2d3d(std::vector<Dune::FieldVector<ctype, 3>>& points) -{ return grahamConvexHull<2>(points); } - -/*! - * \ingroup Geometry - * \brief Triangulate area given points of the convex hull - * \note Assumes all points of the convex hull are coplanar - * \note This inserts a mid point and connects all corners with that point to triangles - */ -template<class ctype> -[[deprecated("Please use triangulate. Will be removed after 3.1")]] -std::vector<std::array<Dune::FieldVector<ctype, 3>, 3> > -triangulateConvexHull(const std::vector<Dune::FieldVector<ctype, 3>>& convexHull) -{ return triangulate<2, 3>(convexHull); } -#endif - } // end namespace Dumux # endif -- GitLab