From: guido Date: Mon, 5 Feb 2001 10:05:02 +0000 (+0000) Subject: implementation of fill_permutation X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e041fbe019ec64c139fe5557898f549e90b43ea;p=dealii-svn.git implementation of fill_permutation git-svn-id: https://svn.dealii.org/trunk@3857 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/full_matrix.h b/deal.II/lac/include/lac/full_matrix.h index ed0150ecba..a8fce807dc 100644 --- a/deal.II/lac/include/lac/full_matrix.h +++ b/deal.II/lac/include/lac/full_matrix.h @@ -179,7 +179,6 @@ class FullMatrix : public Subscriptor void fill_permutation (const FullMatrix &src, const std::vector& p_rows, const std::vector& p_cols); - /** * Fill matrix with an array of numbers. diff --git a/deal.II/lac/source/full_matrix.double.cc b/deal.II/lac/source/full_matrix.double.cc index f7a2ff1dd1..f4530c99f3 100644 --- a/deal.II/lac/source/full_matrix.double.cc +++ b/deal.II/lac/source/full_matrix.double.cc @@ -35,6 +35,9 @@ template void FullMatrix::add_diag (const TYPEMAT, const FullMatrix::fill (const TYPEVEC*); +template void FullMatrix::fill_permutation (const FullMatrix&, + const std::vector&, + const std::vector&); template void FullMatrix::vmult(Vector&, const Vector&, const bool) const; template void FullMatrix::Tvmult(Vector&, const Vector&, const bool) const; template double FullMatrix::residual(Vector&, const Vector&, const Vector&) const; @@ -49,6 +52,9 @@ template double FullMatrix::least_squares(Vector&, Vector::fill (const TYPEVEC*); +template void FullMatrix::fill_permutation (const FullMatrix&, + const std::vector&, + const std::vector&); template void FullMatrix::vmult(Vector&, const Vector&, const bool) const; template void FullMatrix::Tvmult(Vector&, const Vector&, const bool) const; template double FullMatrix::residual(Vector&, const Vector&, const Vector&) const; diff --git a/deal.II/lac/source/full_matrix.float.cc b/deal.II/lac/source/full_matrix.float.cc index 684ff616d7..9460efb467 100644 --- a/deal.II/lac/source/full_matrix.float.cc +++ b/deal.II/lac/source/full_matrix.float.cc @@ -34,6 +34,9 @@ template void FullMatrix::add_diag (const TYPEMAT, const FullMatrix::fill (const TYPEVEC*); +template void FullMatrix::fill_permutation (const FullMatrix&, + const std::vector&, + const std::vector&); template void FullMatrix::vmult(Vector&, const Vector&, const bool) const; template void FullMatrix::Tvmult(Vector&, const Vector&, const bool) const; template double FullMatrix::residual(Vector&, const Vector&, const Vector&) const; @@ -48,6 +51,9 @@ template double FullMatrix::least_squares(Vector&, Vector::fill (const TYPEVEC*); +template void FullMatrix::fill_permutation (const FullMatrix&, + const std::vector&, + const std::vector&); template void FullMatrix::vmult(Vector&, const Vector&, const bool) const; template void FullMatrix::Tvmult(Vector&, const Vector&, const bool) const; template double FullMatrix::residual(Vector&, const Vector&, const Vector&) const;