]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
inline added
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 6 Jan 2003 09:08:08 +0000 (09:08 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 6 Jan 2003 09:08:08 +0000 (09:08 +0000)
git-svn-id: https://svn.dealii.org/trunk@6866 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/multigrid/multigrid.h
deal.II/lac/include/lac/pointer_matrix.h
deal.II/lac/include/lac/precondition_block.h

index 50b49f8a0df371769cf334c8fdcd3988331a290d..06368d3a47c6b776eeb7dc8ba36426833710e382 100644 (file)
@@ -376,7 +376,7 @@ PreconditionMG<dim, VECTOR, TRANSFER>
 {}
 
 template<int dim, class VECTOR, class TRANSFER>
-bool
+inline bool
 PreconditionMG<dim, VECTOR, TRANSFER>::empty () const
 {
   return false;
index 975433c809352aa31dbf0df2d9956ae6e3076256..4187cfe154b04d2360531b4a921ba506d255b316 100644 (file)
@@ -165,7 +165,7 @@ PointerMatrix<MATRIX, VECTOR>::PointerMatrix (const MATRIX* M)
 {}
 
 template<class MATRIX, class VECTOR>
-const PointerMatrix<MATRIX, VECTOR>&
+inline const PointerMatrix<MATRIX, VECTOR>&
 PointerMatrix<MATRIX, VECTOR>::operator= (const MATRIX* M)
 {
   m = M;
@@ -173,7 +173,7 @@ PointerMatrix<MATRIX, VECTOR>::operator= (const MATRIX* M)
 }
 
 template<class MATRIX, class VECTOR>
-bool
+inline bool
 PointerMatrix<MATRIX, VECTOR>::empty () const
 {
   if (m == 0)
@@ -182,7 +182,7 @@ PointerMatrix<MATRIX, VECTOR>::empty () const
 }
 
 template<class MATRIX, class VECTOR>
-void
+inline void
 PointerMatrix<MATRIX, VECTOR>::vmult (VECTOR& dst,
                                      const VECTOR& src) const
 {
@@ -192,7 +192,7 @@ PointerMatrix<MATRIX, VECTOR>::vmult (VECTOR& dst,
 
 
 template<class MATRIX, class VECTOR>
-void
+inline void
 PointerMatrix<MATRIX, VECTOR>::Tvmult (VECTOR& dst,
                                       const VECTOR& src) const
 {
@@ -202,7 +202,7 @@ PointerMatrix<MATRIX, VECTOR>::Tvmult (VECTOR& dst,
 
 
 template<class MATRIX, class VECTOR>
-void
+inline void
 PointerMatrix<MATRIX, VECTOR>::vmult_add (VECTOR& dst,
                                          const VECTOR& src) const
 {
@@ -212,7 +212,7 @@ PointerMatrix<MATRIX, VECTOR>::vmult_add (VECTOR& dst,
 
 
 template<class MATRIX, class VECTOR>
-void
+inline void
 PointerMatrix<MATRIX, VECTOR>::Tvmult_add (VECTOR& dst,
                                           const VECTOR& src) const
 {
index 5181683551121bce408f55b3d9b6f45053bba506..37dab620a85fb155a1325f6b81656b8144847178 100644 (file)
@@ -557,7 +557,7 @@ class PreconditionBlockSSOR : public virtual Subscriptor,
 //----------------------------------------------------------------------//
 
 template<class MATRIX, typename inverse_type>
-bool
+inline bool
 PreconditionBlock<MATRIX, inverse_type>::empty () const
 {
   if (A == 0)

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.