From a2ef2a34abcabfe56f4e6e9fdabfc7e7a395da76 Mon Sep 17 00:00:00 2001 From: Andreas Naumann <andreas.naumann@tu-dresden.de> Date: Mon, 2 May 2011 17:06:34 +0000 Subject: [PATCH] removed unused functions --- AMDiS/src/DOFIndexed.cc | 6 ++---- AMDiS/src/DOFIndexed.h | 2 -- AMDiS/src/SystemVector.h | 4 ++++ 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/AMDiS/src/DOFIndexed.cc b/AMDiS/src/DOFIndexed.cc index 77cd9b54..b5203910 100644 --- a/AMDiS/src/DOFIndexed.cc +++ b/AMDiS/src/DOFIndexed.cc @@ -93,7 +93,6 @@ namespace AMDiS { } - void mv(MatrixTranspose transpose, const DOFMatrix &a, const DOFIndexed<double> &x, @@ -101,7 +100,8 @@ namespace AMDiS { bool add) { FUNCNAME("DOFIndexed<T>::mv"); - + TEST_EXIT(false)("This function is not supported any more\n"); +#if 0 if (transpose == NoTranspose) mult(a.getBaseMatrix(), x, result); else if (transpose == Transpose) @@ -109,7 +109,6 @@ namespace AMDiS { else ERROR_EXIT("transpose = %d\n", transpose); -#if 0 int irow, jcol; double sum; @@ -138,5 +137,4 @@ namespace AMDiS { } #endif } - } diff --git a/AMDiS/src/DOFIndexed.h b/AMDiS/src/DOFIndexed.h index aa141317..64a41fdb 100644 --- a/AMDiS/src/DOFIndexed.h +++ b/AMDiS/src/DOFIndexed.h @@ -108,13 +108,11 @@ namespace AMDiS { virtual const T& operator[](DegreeOfFreedom i) const = 0; }; - void mv(MatrixTranspose transpose, const DOFMatrix &a, const DOFIndexed<double> &x, DOFIndexed<double> &result, bool add = false); - } // namespace AMDiS #endif // AMDIS_DOFINDEXED_H diff --git a/AMDiS/src/SystemVector.h b/AMDiS/src/SystemVector.h index 25820156..0289c1b5 100644 --- a/AMDiS/src/SystemVector.h +++ b/AMDiS/src/SystemVector.h @@ -377,6 +377,9 @@ namespace AMDiS { SystemVector &result, bool add = false) { + FUNCNAME("mv()"); + TEST_EXIT(false)("This function is not supported any more.\n"); +#if 0 int size = x.getNumVectors(); int i; @@ -396,6 +399,7 @@ namespace AMDiS { *(result.getDOFVector(i)), true); } +#endif } /// y = a*x + y; -- GitLab