From: Wolfgang Bangerth Date: Mon, 25 Mar 2002 14:07:46 +0000 (+0000) Subject: Make the syntax for explicit instantiations of member templates C++ standard conforming. X-Git-Tag: v8.0.0~18234 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb74f43792cec2a8dd3fc497a696418256c35a1a;p=dealii.git 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 --- 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;