From 8d229dd5aec3e1f4f7be468fbcba4d345dab5b06 Mon Sep 17 00:00:00 2001 From: bangerth Date: Thu, 15 Oct 2009 23:51:55 +0000 Subject: [PATCH] Fix typo. git-svn-id: https://svn.dealii.org/trunk@19905 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/multigrid/mg_matrix.h | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/deal.II/deal.II/include/multigrid/mg_matrix.h b/deal.II/deal.II/include/multigrid/mg_matrix.h index 8870b16b24..d6e7f9a1f6 100644 --- a/deal.II/deal.II/include/multigrid/mg_matrix.h +++ b/deal.II/deal.II/include/multigrid/mg_matrix.h @@ -43,7 +43,7 @@ class MGMatrix : public MGMatrixBase * only a pointer is stored. */ MGMatrix (MGLevelObject* = 0); - + /** * Set the matrix object to be * used. The matrix object must @@ -52,7 +52,7 @@ class MGMatrix : public MGMatrixBase * only a pointer is stored. */ void set_matrix (MGLevelObject* M); - + /** * Matrix-vector-multiplication on * a certain level. @@ -60,7 +60,7 @@ class MGMatrix : public MGMatrixBase virtual void vmult (const unsigned int level, VECTOR& dst, const VECTOR& src) const; - + /** * Adding matrix-vector-multiplication on * a certain level. @@ -86,18 +86,18 @@ class MGMatrix : public MGMatrixBase virtual void Tvmult_add (const unsigned int level, VECTOR& dst, const VECTOR& src) const; - + /** * Memory used by this object. */ unsigned int memory_consumption () const; - + private: /** * Pointer to the matrix objects on each level. */ - SmartPointer,MGMAtrix > matrix; + SmartPointer,MGMatrix > matrix; }; @@ -135,14 +135,14 @@ class MGMatrixSelect : public MGMatrixBase > * only a pointer is stored. */ void set_matrix (MGLevelObject* M); - + /** * Select the block for * multiplication. */ void select_block (const unsigned int row, const unsigned int col); - + /** * Matrix-vector-multiplication on * a certain level. @@ -150,7 +150,7 @@ class MGMatrixSelect : public MGMatrixBase > virtual void vmult (const unsigned int level, Vector& dst, const Vector& src) const; - + /** * Adding matrix-vector-multiplication on * a certain level. @@ -175,13 +175,13 @@ class MGMatrixSelect : public MGMatrixBase > */ virtual void Tvmult_add (const unsigned int level, Vector& dst, - const Vector& src) const; + const Vector& src) const; private: /** * Pointer to the matrix objects on each level. */ - SmartPointer,MGMAtrixSelect > matrix; + SmartPointer,MGMatrixSelect > matrix; /** * Row coordinate of selected block. */ @@ -190,7 +190,7 @@ class MGMatrixSelect : public MGMatrixBase > * Column coordinate of selected block. */ unsigned int col; - + }; /*@}*/ @@ -219,7 +219,7 @@ MGMatrix::vmult (const unsigned int level, const VECTOR& src) const { Assert(matrix != 0, ExcNotInitialized()); - + const MGLevelObject& m = *matrix; m[level].vmult(dst, src); } @@ -232,7 +232,7 @@ MGMatrix::vmult_add (const unsigned int level, const VECTOR& src) const { Assert(matrix != 0, ExcNotInitialized()); - + const MGLevelObject& m = *matrix; m[level].vmult_add(dst, src); } @@ -245,7 +245,7 @@ MGMatrix::Tvmult (const unsigned int level, const VECTOR& src) const { Assert(matrix != 0, ExcNotInitialized()); - + const MGLevelObject& m = *matrix; m[level].Tvmult(dst, src); } @@ -258,7 +258,7 @@ MGMatrix::Tvmult_add (const unsigned int level, const VECTOR& src) const { Assert(matrix != 0, ExcNotInitialized()); - + const MGLevelObject& m = *matrix; m[level].Tvmult_add(dst, src); } @@ -313,7 +313,7 @@ vmult (const unsigned int level, const Vector& src) const { Assert(matrix != 0, ExcNotInitialized()); - + const MGLevelObject& m = *matrix; m[level].block(row, col).vmult(dst, src); } @@ -327,7 +327,7 @@ vmult_add (const unsigned int level, const Vector& src) const { Assert(matrix != 0, ExcNotInitialized()); - + const MGLevelObject& m = *matrix; m[level].block(row, col).vmult_add(dst, src); } @@ -341,7 +341,7 @@ Tvmult (const unsigned int level, const Vector& src) const { Assert(matrix != 0, ExcNotInitialized()); - + const MGLevelObject& m = *matrix; m[level].block(row, col).Tvmult(dst, src); } @@ -355,7 +355,7 @@ Tvmult_add (const unsigned int level, const Vector& src) const { Assert(matrix != 0, ExcNotInitialized()); - + const MGLevelObject& m = *matrix; m[level].block(row, col).Tvmult_add(dst, src); } -- 2.39.5