From: wolf Date: Fri, 26 Mar 1999 10:21:08 +0000 (+0000) Subject: Clean up a little bit and make it conforming to our style guides. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8074a54dc97f16c330de1b606f1d63ab07dff633;p=dealii-svn.git Clean up a little bit and make it conforming to our style guides. git-svn-id: https://svn.dealii.org/trunk@1054 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/full_matrix.templates.h b/deal.II/lac/include/lac/full_matrix.templates.h index b1eaf560f0..2a86876e1c 100644 --- a/deal.II/lac/include/lac/full_matrix.templates.h +++ b/deal.II/lac/include/lac/full_matrix.templates.h @@ -105,6 +105,7 @@ FullMatrix::reinit (const FullMatrix &B) }; + template template void @@ -234,6 +235,7 @@ FullMatrix::vmult (Vector& dst, } + template template void FullMatrix::gsmult (Vector& dst, const Vector& src, const iVector& gl) const @@ -367,6 +369,8 @@ void FullMatrix::gsmult (Vector& dst, const Vector& sr } } + + template template void FullMatrix::Tvmult (Vector& dst, const Vector& src, const bool adding) const @@ -388,6 +392,8 @@ void FullMatrix::Tvmult (Vector& dst, const Vector& sr } } + + template template double FullMatrix::residual (Vector& dst, const Vector& src, @@ -412,6 +418,8 @@ double FullMatrix::residual (Vector& dst, const Vector return sqrt(res); } + + template template void FullMatrix::forward (Vector& dst, const Vector& src) const @@ -431,6 +439,8 @@ void FullMatrix::forward (Vector& dst, const Vector& s } } + + template template void FullMatrix::backward (Vector& dst, const Vector& src) const @@ -446,6 +456,8 @@ void FullMatrix::backward (Vector& dst, const Vector& } } + + template template FullMatrix& @@ -463,6 +475,8 @@ FullMatrix::operator = (const FullMatrix& m) return *this; } + + template template void FullMatrix::fill (const FullMatrix& src, @@ -476,6 +490,8 @@ void FullMatrix::fill (const FullMatrix& src, el(ii+i,jj+j) = src.el(ii,jj); } + + template void FullMatrix::add_row (const unsigned int i, const number s, const unsigned int j) @@ -484,6 +500,8 @@ void FullMatrix::add_row (const unsigned int i, el(i,k) += s*el(j,k); } + + template void FullMatrix::add_row (const unsigned int i, const number s, const unsigned int j, const number t, @@ -494,6 +512,8 @@ void FullMatrix::add_row (const unsigned int i, const number s, el(i,l) += s*el(j,l) + t*el(k,l); } + + template void FullMatrix::add_col (const unsigned int i, const number s, const unsigned int j) @@ -502,6 +522,8 @@ void FullMatrix::add_col (const unsigned int i, const number s, el(k,i) += s*el(k,j); } + + template void FullMatrix::add_col (const unsigned int i, const number s, const unsigned int j, const number t, @@ -511,6 +533,8 @@ void FullMatrix::add_col (const unsigned int i, const number s, el(l,i) += s*el(l,j) + t*el(l,k); } + + template void FullMatrix::swap_row (const unsigned int i, const unsigned int j) { @@ -521,6 +545,8 @@ void FullMatrix::swap_row (const unsigned int i, const unsigned int j) } } + + template void FullMatrix::swap_col (const unsigned int i, const unsigned int j) { @@ -531,6 +557,8 @@ void FullMatrix::swap_col (const unsigned int i, const unsigned int j) } } + + template void FullMatrix::diagadd (const number src) { @@ -539,6 +567,8 @@ void FullMatrix::diagadd (const number src) el(i,i) += src; } + + template template void FullMatrix::mmult (FullMatrix& dst, const FullMatrix& src) const @@ -557,6 +587,8 @@ void FullMatrix::mmult (FullMatrix& dst, const FullMatrix::mmult (FullMatrix& dst, const FullMatrix& src) const { Assert (m() == src.n(), ExcDimensionMismatch(m(), src.n())); @@ -575,6 +607,8 @@ void FullMatrix::mmult (FullMatrix& dst, const FullMatrix template void FullMatrix::Tmmult (FullMatrix& dst, const FullMatrix& src) const @@ -594,6 +628,8 @@ void FullMatrix::Tmmult (FullMatrix& dst, const FullMatrix::Tmmult(FullMatrix& dst, const FullMatrix& src) const { Assert (m() == src.n(), ExcDimensionMismatch(m(), src.n())); @@ -670,6 +706,7 @@ double FullMatrix::matrix_scalar_product (const Vector &u, cons }; + template number FullMatrix::l1_norm () const { @@ -688,6 +725,7 @@ number FullMatrix::l1_norm () const }; + template number FullMatrix::linfty_norm () const { @@ -706,6 +744,7 @@ number FullMatrix::linfty_norm () const }; + template void FullMatrix::print (ostream& s, int w, int p) const @@ -718,6 +757,8 @@ FullMatrix::print (ostream& s, int w, int p) const } } + + template template void @@ -957,6 +998,8 @@ FullMatrix::add_diag (const number s, const FullMatrix& src) } } + + template template void @@ -1081,6 +1124,7 @@ FullMatrix::Tadd (const number s, const FullMatrix& src) } + template bool FullMatrix::operator == (const FullMatrix &m) const @@ -1095,6 +1139,7 @@ FullMatrix::operator == (const FullMatrix &m) const }; + template double FullMatrix::determinant () const @@ -1121,6 +1166,8 @@ FullMatrix::determinant () const }; }; + + template double FullMatrix::norm2 () const @@ -1132,6 +1179,7 @@ FullMatrix::norm2 () const } + template void FullMatrix::clear () { @@ -1429,6 +1477,8 @@ FullMatrix::householder(Vector& src) } } + + template template double