From e0867cf51959dfa70c59ffa9963f747b1fc6a956 Mon Sep 17 00:00:00 2001 From: wolf Date: Tue, 11 May 2004 13:46:26 +0000 Subject: [PATCH] Reindent. git-svn-id: https://svn.dealii.org/trunk@9236 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/include/base/table.h | 4 +- deal.II/lac/include/lac/full_matrix.h | 121 +++++++++++++------------- 2 files changed, 64 insertions(+), 61 deletions(-) diff --git a/deal.II/base/include/base/table.h b/deal.II/base/include/base/table.h index 27d70a247b..eb4ae087e0 100644 --- a/deal.II/base/include/base/table.h +++ b/deal.II/base/include/base/table.h @@ -913,7 +913,9 @@ class TableBase : public Subscriptor const T & el (const TableIndices &indices) const; /** -* @deprecated This function accesses data directly and should not be used! + * @deprecated This function + * accesses data directly and + * should not be used! * * Direct read-only access to * data field. Used by diff --git a/deal.II/lac/include/lac/full_matrix.h b/deal.II/lac/include/lac/full_matrix.h index 7a9bdc959f..4589cdfc4f 100644 --- a/deal.II/lac/include/lac/full_matrix.h +++ b/deal.II/lac/include/lac/full_matrix.h @@ -61,62 +61,63 @@ class FullMatrix : public Table<2,number> class const_iterator; /** - * Accessor class for iterators - */ - class Accessor - { - public: - /** - * Constructor. Since we use - * accessors only for read - * access, a const matrix - * pointer is sufficient. - */ - Accessor (const FullMatrix *matrix, - const unsigned int row, - const unsigned int col); - - /** - * Row number of the element - * represented by this - * object. - */ - unsigned int row() const; - - /** - * Column number of the - * element represented by - * this object. - */ - unsigned int column() const; - - /** - * Value of this matrix entry. - */ - number value() const; + * Accessor class for iterators + */ + class Accessor + { + public: + /** + * Constructor. Since we use + * accessors only for read + * access, a const matrix + * pointer is sufficient. + */ + Accessor (const FullMatrix *matrix, + const unsigned int row, + const unsigned int col); + + /** + * Row number of the element + * represented by this + * object. + */ + unsigned int row() const; + + /** + * Column number of the + * element represented by + * this object. + */ + unsigned int column() const; + + /** + * Value of this matrix entry. + */ + number value() const; - protected: - /** - * The matrix accessed. - */ - const FullMatrix* matrix; - - /** - * Current row number. - */ - unsigned int a_row; - - /** - * Current column number. - */ - unsigned short a_col; - - /** - * Make enclosing class a - * friend. - */ - friend class const_iterator; - }; + protected: + /** + * The matrix accessed. + */ + const FullMatrix* matrix; + + /** + * Current row number. + */ + unsigned int a_row; + + /** + * Current column number. + */ + unsigned short a_col; + + /** + * Make enclosing class a + * friend. + */ + friend class const_iterator; + }; + /** * STL conforming iterator. */ @@ -474,11 +475,11 @@ class FullMatrix : public Table<2,number> */ template void Tadd (const FullMatrix &src, - const double factor, - const unsigned int dst_offset_i = 0, - const unsigned int dst_offset_j = 0, - const unsigned int src_offset_i = 0, - const unsigned int src_offset_j = 0); + const double factor, + const unsigned int dst_offset_i = 0, + const unsigned int dst_offset_j = 0, + const unsigned int src_offset_i = 0, + const unsigned int src_offset_j = 0); /** * Matrix-matrix-multiplication. -- 2.39.5