]> https://gitweb.dealii.org/ - dealii-svn.git/commit
Remove the FullMatrix::add_diag function since it was only correctly implemented...
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 9 Dec 2007 16:56:27 +0000 (16:56 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 9 Dec 2007 16:56:27 +0000 (16:56 +0000)
commit64e9c2f521e7b1bca62d9d2a153b2c73f3e891db
treed8cfa2e2cb862b3a04261b4a03a2c7b5d8ae7cb9
parent5c1767344367704a346bea15826a0268d1cc3e58
Remove the FullMatrix::add_diag function since it was only correctly implemented for n=3,4,8 without anyone noticing in 10 years. The function was clearly not used very frequently and appears to be a remains from the old DEAL days.  While we are at it, also remove much of the special casing for matrices of particular sizes in full_matrix.templates.h -- this may have been useful 10 years ago when it was written, but today compilers are better able to deal with loops than hand-coded long sequences of temporary variables and statements. Finally, add some conversions in various places to make sure that the code also works for complex-valued arguments (to be checked in later today).

git-svn-id: https://svn.dealii.org/trunk@15571 0785d39b-7218-0410-832d-ea1e28bc413d
deal.II/doc/news/changes.h
deal.II/lac/include/lac/full_matrix.h
deal.II/lac/include/lac/full_matrix.templates.h
tests/bits/complex_complex_full_matrix_35.cc [deleted file]
tests/bits/complex_complex_full_matrix_35/cmp/generic [deleted file]
tests/bits/complex_real_full_matrix_35.cc [deleted file]
tests/bits/complex_real_full_matrix_35/cmp/generic [deleted file]
tests/bits/full_matrix_35.cc [deleted file]
tests/bits/full_matrix_35/cmp/generic [deleted file]

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.