From 349b0724c6fffc5c223273273438e1522adb62d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Del=20Pino?= <stephane.delpino44@gmail.com>
Date: Wed, 4 Nov 2020 09:21:29 +0100
Subject: [PATCH] Remove useless function

The `columnIdToValueMap()` function was designed to access to the
sparse description of lines of a `SparseMatrixDescriptor`. This was
added when interfacing with `PETSc` but finally the coupling is made
though `CRSMatrix`.
---
 src/algebra/SparseMatrixDescriptor.hpp | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/algebra/SparseMatrixDescriptor.hpp b/src/algebra/SparseMatrixDescriptor.hpp
index d5c14713b..f63a17576 100644
--- a/src/algebra/SparseMatrixDescriptor.hpp
+++ b/src/algebra/SparseMatrixDescriptor.hpp
@@ -22,12 +22,6 @@ class SparseMatrixDescriptor
     std::map<IndexType, DataType> m_id_value_map;
 
    public:
-    const auto&
-    columnIdToValueMap() const
-    {
-      return m_id_value_map;
-    }
-
     IndexType
     numberOfValues() const noexcept
     {
-- 
GitLab