]> https://gitweb.dealii.org/ - dealii.git/commit
Remove the FullMatrix::add_diag function since it was only correctly implemented...
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 9 Dec 2007 16:56:27 +0000 (16:56 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 9 Dec 2007 16:56:27 +0000 (16:56 +0000)
commit26fdb124acf96a4b13b462872819e20bf7163ae8
treeb0b1d8780172ff75412ffc2470e3713a94478974
parentbcf8f9040306cfe509440c448ed63b335a91a0b0
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.