Commit a2ef2a34 authored by Naumann, Andreas's avatar Naumann, Andreas
Browse files

removed unused functions

parent 8b20a02e
...@@ -93,7 +93,6 @@ namespace AMDiS { ...@@ -93,7 +93,6 @@ namespace AMDiS {
} }
void mv(MatrixTranspose transpose, void mv(MatrixTranspose transpose,
const DOFMatrix &a, const DOFMatrix &a,
const DOFIndexed<double> &x, const DOFIndexed<double> &x,
...@@ -101,7 +100,8 @@ namespace AMDiS { ...@@ -101,7 +100,8 @@ namespace AMDiS {
bool add) bool add)
{ {
FUNCNAME("DOFIndexed<T>::mv"); FUNCNAME("DOFIndexed<T>::mv");
TEST_EXIT(false)("This function is not supported any more\n");
#if 0
if (transpose == NoTranspose) if (transpose == NoTranspose)
mult(a.getBaseMatrix(), x, result); mult(a.getBaseMatrix(), x, result);
else if (transpose == Transpose) else if (transpose == Transpose)
...@@ -109,7 +109,6 @@ namespace AMDiS { ...@@ -109,7 +109,6 @@ namespace AMDiS {
else else
ERROR_EXIT("transpose = %d\n", transpose); ERROR_EXIT("transpose = %d\n", transpose);
#if 0
int irow, jcol; int irow, jcol;
double sum; double sum;
...@@ -138,5 +137,4 @@ namespace AMDiS { ...@@ -138,5 +137,4 @@ namespace AMDiS {
} }
#endif #endif
} }
} }
...@@ -108,13 +108,11 @@ namespace AMDiS { ...@@ -108,13 +108,11 @@ namespace AMDiS {
virtual const T& operator[](DegreeOfFreedom i) const = 0; virtual const T& operator[](DegreeOfFreedom i) const = 0;
}; };
void mv(MatrixTranspose transpose, void mv(MatrixTranspose transpose,
const DOFMatrix &a, const DOFMatrix &a,
const DOFIndexed<double> &x, const DOFIndexed<double> &x,
DOFIndexed<double> &result, DOFIndexed<double> &result,
bool add = false); bool add = false);
} // namespace AMDiS } // namespace AMDiS
#endif // AMDIS_DOFINDEXED_H #endif // AMDIS_DOFINDEXED_H
...@@ -377,6 +377,9 @@ namespace AMDiS { ...@@ -377,6 +377,9 @@ namespace AMDiS {
SystemVector &result, SystemVector &result,
bool add = false) bool add = false)
{ {
FUNCNAME("mv()");
TEST_EXIT(false)("This function is not supported any more.\n");
#if 0
int size = x.getNumVectors(); int size = x.getNumVectors();
int i; int i;
...@@ -396,6 +399,7 @@ namespace AMDiS { ...@@ -396,6 +399,7 @@ namespace AMDiS {
*(result.getDOFVector(i)), *(result.getDOFVector(i)),
true); true);
} }
#endif
} }
/// y = a*x + y; /// y = a*x + y;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment