]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
implementation of fill_permutation
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 5 Feb 2001 10:05:02 +0000 (10:05 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 5 Feb 2001 10:05:02 +0000 (10:05 +0000)
git-svn-id: https://svn.dealii.org/trunk@3857 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/full_matrix.h
deal.II/lac/source/full_matrix.double.cc
deal.II/lac/source/full_matrix.float.cc

index ed0150ecbaff509145762bc8f4d1cebce9a525c9..a8fce807dc053c7775afd03bb4881147c9b00380 100644 (file)
@@ -179,7 +179,6 @@ class FullMatrix : public Subscriptor
     void fill_permutation (const FullMatrix<number2> &src,
               const std::vector<unsigned int>& p_rows,
               const std::vector<unsigned int>& p_cols);
-    
 
                                      /**
                                      * Fill matrix with an array of numbers.
index f7a2ff1dd1b3824686cc5b89b68b728ef8e848d6..f4530c99f3fa79ebca702c82a14f68d5a5cfe061 100644 (file)
@@ -35,6 +35,9 @@ template void FullMatrix<TYPEMAT>::add_diag (const TYPEMAT, const FullMatrix<TYP
 #define TYPERES double
 
 template void FullMatrix<TYPEMAT>::fill (const TYPEVEC*);
+template void FullMatrix<TYPEMAT>::fill_permutation (const FullMatrix<TYPEVEC>&,
+                                                    const std::vector<unsigned int>&,
+                                                    const std::vector<unsigned int>&);
 template void FullMatrix<TYPEMAT>::vmult(Vector<TYPEVEC>&, const Vector<TYPEVEC>&, const bool) const;
 template void FullMatrix<TYPEMAT>::Tvmult(Vector<TYPEVEC>&, const Vector<TYPEVEC>&, const bool) const;
 template double FullMatrix<TYPEMAT>::residual(Vector<TYPEVEC>&, const Vector<TYPEVEC>&, const Vector<TYPERES>&) const;
@@ -49,6 +52,9 @@ template double FullMatrix<TYPEMAT>::least_squares(Vector<TYPEVEC>&, Vector<TYPE
 #define TYPEVEC float
 
 template void FullMatrix<TYPEMAT>::fill (const TYPEVEC*);
+template void FullMatrix<TYPEMAT>::fill_permutation (const FullMatrix<TYPEVEC>&,
+                                                    const std::vector<unsigned int>&,
+                                                    const std::vector<unsigned int>&);
 template void FullMatrix<TYPEMAT>::vmult(Vector<TYPEVEC>&, const Vector<TYPEVEC>&, const bool) const;
 template void FullMatrix<TYPEMAT>::Tvmult(Vector<TYPEVEC>&, const Vector<TYPEVEC>&, const bool) const;
 template double FullMatrix<TYPEMAT>::residual(Vector<TYPEVEC>&, const Vector<TYPEVEC>&, const Vector<TYPERES>&) const;
index 684ff616d763079296c9e6ab7d60c7f796fb6d7b..9460efb4673a2f359c8b4fa37e3f7ed1b2d956be 100644 (file)
@@ -34,6 +34,9 @@ template void FullMatrix<TYPEMAT>::add_diag (const TYPEMAT, const FullMatrix<TYP
 #define TYPERES double
 
 template void FullMatrix<TYPEMAT>::fill (const TYPEVEC*);
+template void FullMatrix<TYPEMAT>::fill_permutation (const FullMatrix<TYPEVEC>&,
+                                                    const std::vector<unsigned int>&,
+                                                    const std::vector<unsigned int>&);
 template void FullMatrix<TYPEMAT>::vmult(Vector<TYPEVEC>&, const Vector<TYPEVEC>&, const bool) const;
 template void FullMatrix<TYPEMAT>::Tvmult(Vector<TYPEVEC>&, const Vector<TYPEVEC>&, const bool) const;
 template double FullMatrix<TYPEMAT>::residual(Vector<TYPEVEC>&, const Vector<TYPEVEC>&, const Vector<TYPERES>&) const;
@@ -48,6 +51,9 @@ template double FullMatrix<TYPEMAT>::least_squares(Vector<TYPEVEC>&, Vector<TYPE
 #define TYPEVEC float
 
 template void FullMatrix<TYPEMAT>::fill (const TYPEVEC*);
+template void FullMatrix<TYPEMAT>::fill_permutation (const FullMatrix<TYPEVEC>&,
+                                                    const std::vector<unsigned int>&,
+                                                    const std::vector<unsigned int>&);
 template void FullMatrix<TYPEMAT>::vmult(Vector<TYPEVEC>&, const Vector<TYPEVEC>&, const bool) const;
 template void FullMatrix<TYPEMAT>::Tvmult(Vector<TYPEVEC>&, const Vector<TYPEVEC>&, const bool) const;
 template double FullMatrix<TYPEMAT>::residual(Vector<TYPEVEC>&, const Vector<TYPEVEC>&, const Vector<TYPERES>&) const;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.