From cb74f43792cec2a8dd3fc497a696418256c35a1a Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 25 Mar 2002 14:07:46 +0000 Subject: [PATCH] Make the syntax for explicit instantiations of member templates C++ standard conforming. git-svn-id: https://svn.dealii.org/trunk@5613 0785d39b-7218-0410-832d-ea1e28bc413d --- .../lac/include/lac/sparse_matrix.2.templates | 84 +++++++++---------- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/deal.II/lac/include/lac/sparse_matrix.2.templates b/deal.II/lac/include/lac/sparse_matrix.2.templates index f2f37dfb7f..e1b053c4fc 100644 --- a/deal.II/lac/include/lac/sparse_matrix.2.templates +++ b/deal.II/lac/include/lac/sparse_matrix.2.templates @@ -18,55 +18,55 @@ // TYPEMAT and TYPE2 are defined in sparsematrix?.cc template SparseMatrix & -SparseMatrix::copy_from (const SparseMatrix &); +SparseMatrix::copy_from<> (const SparseMatrix &); template -void SparseMatrix::copy_from (const FullMatrix &); +void SparseMatrix::copy_from<> (const FullMatrix &); -template void SparseMatrix::add_scaled (const TYPEMAT, - const SparseMatrix &); +template void SparseMatrix::add_scaled<> (const TYPEMAT, + const SparseMatrix &); -template void SparseMatrix::vmult (Vector &, - const Vector &) const; -template void SparseMatrix::Tvmult (Vector &, - const Vector &) const; -template void SparseMatrix::vmult_add (Vector &, - const Vector &) const; -template void SparseMatrix::Tvmult_add (Vector &, - const Vector &) const; - -template TYPE2 -SparseMatrix::matrix_norm_square (const Vector &) const; - -template TYPE2 -SparseMatrix::matrix_scalar_product (const Vector &, +template void SparseMatrix::vmult<> (Vector &, const Vector &) const; - -template TYPE2 SparseMatrix::residual (Vector &, - const Vector &, +template void SparseMatrix::Tvmult<> (Vector &, const Vector &) const; +template void SparseMatrix::vmult_add<> (Vector &, + const Vector &) const; +template void SparseMatrix::Tvmult_add<> (Vector &, + const Vector &) const; -template void SparseMatrix::precondition_SSOR (Vector &, - const Vector &, - const TYPEMAT) const; - -template void SparseMatrix::precondition_SOR (Vector &, - const Vector &, - const TYPEMAT) const; - -template void SparseMatrix::precondition_TSOR (Vector &, - const Vector &, - const TYPEMAT) const; - -template void SparseMatrix::precondition_Jacobi (Vector &, - const Vector &, - const TYPEMAT) const; +template TYPE2 +SparseMatrix::matrix_norm_square<> (const Vector &) const; -template void SparseMatrix::SOR (Vector &, const TYPEMAT) const; -template void SparseMatrix::TSOR (Vector &, const TYPEMAT) const; -template void SparseMatrix::SSOR (Vector &, const TYPEMAT) const; -template void SparseMatrix::SOR_step (Vector &, const Vector &, const TYPEMAT) const; -template void SparseMatrix::TSOR_step (Vector &, const Vector &, const TYPEMAT) const; -template void SparseMatrix::SSOR_step (Vector &, const Vector &, const TYPEMAT) const; +template TYPE2 +SparseMatrix::matrix_scalar_product<> (const Vector &, + const Vector &) const; + +template TYPE2 SparseMatrix::residual<> (Vector &, + const Vector &, + const Vector &) const; + +template void SparseMatrix::precondition_SSOR<> (Vector &, + const Vector &, + const TYPEMAT) const; + +template void SparseMatrix::precondition_SOR<> (Vector &, + const Vector &, + const TYPEMAT) const; + +template void SparseMatrix::precondition_TSOR<> (Vector &, + const Vector &, + const TYPEMAT) const; + +template void SparseMatrix::precondition_Jacobi<> (Vector &, + const Vector &, + const TYPEMAT) const; + +template void SparseMatrix::SOR<> (Vector &, const TYPEMAT) const; +template void SparseMatrix::TSOR<> (Vector &, const TYPEMAT) const; +template void SparseMatrix::SSOR<> (Vector &, const TYPEMAT) const; +template void SparseMatrix::SOR_step<> (Vector &, const Vector &, const TYPEMAT) const; +template void SparseMatrix::TSOR_step<> (Vector &, const Vector &, const TYPEMAT) const; +template void SparseMatrix::SSOR_step<> (Vector &, const Vector &, const TYPEMAT) const; -- 2.39.5