From f3a6d7df0356e32b0223592c4979fb671dc66fce Mon Sep 17 00:00:00 2001 From: wolf Date: Fri, 26 Feb 1999 16:02:27 +0000 Subject: [PATCH] Remove artefact and small clean-up. git-svn-id: https://svn.dealii.org/trunk@918 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/blocksparsematrix.h | 15 ++++++++++----- .../lac/include/lac/blocksparsematrix.templates.h | 1 + deal.II/lac/source/blocksparsematrix.cc | 5 +---- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/deal.II/lac/include/lac/blocksparsematrix.h b/deal.II/lac/include/lac/blocksparsematrix.h index 5aa47cce88..3b4b8fe8a7 100644 --- a/deal.II/lac/include/lac/blocksparsematrix.h +++ b/deal.II/lac/include/lac/blocksparsematrix.h @@ -7,15 +7,19 @@ #include -#include -#include +#include + +#include + + + /** * Block sparse matrix. * The block matrix assumes the matrix consisting of blocks on * the diagonal. These diagonal blocks and the elements * (of arbitray structure) below the - * diagonal blocks are used in the #precondition_BlockSOR#. + * diagonal blocks are used in the #precondition_BlockSOR# function. * * This block matrix structure is given e.g. for the DG method * for the transport equation and a downstream numbering. @@ -26,8 +30,9 @@ * matrix having blocks each of the same block size. Varying * block sizes within the matrix must still be implemented if needed. * - * The first template parameter denotes the type of the matrix, the second - * denotes the type of data in which the inverse diagonal block + * The first template parameter denotes the type of number representation in + * the sparse matrix, the second denotes the type of number representation in + * which the inverse diagonal block * matrices are stored by #invert_diagblocks()#. * * @author Ralf Hartmann, 1999 diff --git a/deal.II/lac/include/lac/blocksparsematrix.templates.h b/deal.II/lac/include/lac/blocksparsematrix.templates.h index ae2835d2ce..fb737d4fb4 100644 --- a/deal.II/lac/include/lac/blocksparsematrix.templates.h +++ b/deal.II/lac/include/lac/blocksparsematrix.templates.h @@ -7,6 +7,7 @@ #include #include +#include template diff --git a/deal.II/lac/source/blocksparsematrix.cc b/deal.II/lac/source/blocksparsematrix.cc index d80607cf56..1a6a85c0f7 100644 --- a/deal.II/lac/source/blocksparsematrix.cc +++ b/deal.II/lac/source/blocksparsematrix.cc @@ -10,9 +10,6 @@ //#include -template -bool datatype_compatible (); - // explicit instantiations for "float" BlockSparseMatrix template class BlockSparseMatrix; @@ -23,7 +20,7 @@ template void BlockSparseMatrix::precondition_BlockSOR ( Vector &, const Vector &, float) const; // the instantiation for class BlockSparseMatrix is skipped -// because it does not make sence to have inverse block matrices with +// because it does not make sense to have inverse block matrices with // higher precision than the matrix itself // explicit instantiations for "double" BlockSparseMatrix -- 2.39.5