Skip to content
Snippets Groups Projects
Commit 14411c28 authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

Spelling and wrong comments, fixes FS#1274.

(kudos to Elias Pipping for the patch)

[[Imported from SVN: r1910]]
parent fa205556
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ Copyright holders: ...@@ -20,7 +20,7 @@ Copyright holders:
2010--2012 Rebecca Neumann 2010--2012 Rebecca Neumann
2012 Andreas Nüßing 2012 Andreas Nüßing
2008--2012 Martin Nolte 2008--2012 Martin Nolte
2011 Elias Pipping 2011--2013 Elias Pipping
2007 Sreejith Pulloor Kuttanikkad 2007 Sreejith Pulloor Kuttanikkad
2009 Atgeirr Rasmussen 2009 Atgeirr Rasmussen
2008--2012 Uli Sack 2008--2012 Uli Sack
......
...@@ -105,7 +105,7 @@ namespace Dune { ...@@ -105,7 +105,7 @@ namespace Dune {
typedef FieldMatrix<double,2,2> M; typedef FieldMatrix<double,2,2> M;
// third parameter is an optional upper bound for the number // third parameter is an optional upper bound for the number
// of nonzeros. If given the matrix will use one array for all values // of nonzeros. If given the matrix will use one array for all values
// as opossed to one for each row. // as opposed to one for each row.
BCRSMatrix<M> B(4,4,12,BCRSMatrix<M>::row_wise); BCRSMatrix<M> B(4,4,12,BCRSMatrix<M>::row_wise);
typedef BCRSMatrix<M>::CreateIterator Iter; typedef BCRSMatrix<M>::CreateIterator Iter;
......
...@@ -26,7 +26,7 @@ namespace Dune ...@@ -26,7 +26,7 @@ namespace Dune
* in various formats. * in various formats.
* *
* *
* Routine printmatix prints a (sparse matrix with all entries (even zeroes). * Routine printmatrix prints a (sparse matrix with all entries (even zeroes).
* Function printvector prints a vector to a stream. * Function printvector prints a vector to a stream.
* PrintSparseMatrix prints a sparse matrix omitting all nonzeroes. * PrintSparseMatrix prints a sparse matrix omitting all nonzeroes.
* With writeMatrixToMatlab one can write a matrix in a Matlab readable format. * With writeMatrixToMatlab one can write a matrix in a Matlab readable format.
...@@ -59,7 +59,7 @@ namespace Dune ...@@ -59,7 +59,7 @@ namespace Dune
struct mm_numeric_type { struct mm_numeric_type {
enum { enum {
/** /**
* @brief Whethe T is a supported numeric type. * @brief Whether T is a supported numeric type.
*/ */
is_numeric=false is_numeric=false
}; };
...@@ -70,7 +70,7 @@ namespace Dune ...@@ -70,7 +70,7 @@ namespace Dune
{ {
enum { enum {
/** /**
* @brief Whethe T is a supported numeric type. * @brief Whether T is a supported numeric type.
*/ */
is_numeric=true is_numeric=true
}; };
...@@ -86,7 +86,7 @@ namespace Dune ...@@ -86,7 +86,7 @@ namespace Dune
{ {
enum { enum {
/** /**
* @brief Whethe T is a supported numeric type. * @brief Whether T is a supported numeric type.
*/ */
is_numeric=true is_numeric=true
}; };
...@@ -102,7 +102,7 @@ namespace Dune ...@@ -102,7 +102,7 @@ namespace Dune
{ {
enum { enum {
/** /**
* @brief Whethe T is a supported numeric type. * @brief Whether T is a supported numeric type.
*/ */
is_numeric=true is_numeric=true
}; };
...@@ -118,7 +118,7 @@ namespace Dune ...@@ -118,7 +118,7 @@ namespace Dune
{ {
enum { enum {
/** /**
* @brief Whethe T is a supported numeric type. * @brief Whether T is a supported numeric type.
*/ */
is_numeric=true is_numeric=true
}; };
...@@ -134,7 +134,7 @@ namespace Dune ...@@ -134,7 +134,7 @@ namespace Dune
{ {
enum { enum {
/** /**
* @brief Whethe T is a supported numeric type. * @brief Whether T is a supported numeric type.
*/ */
is_numeric=true is_numeric=true
}; };
......
...@@ -171,14 +171,14 @@ namespace Dune { ...@@ -171,14 +171,14 @@ namespace Dune {
return *this; return *this;
} }
//! vector space multiplication with scalar //! addition to the diagonal
ScaledIdentityMatrix& operator+= (const K& k) ScaledIdentityMatrix& operator+= (const K& k)
{ {
p_ += k; p_ += k;
return *this; return *this;
} }
//! vector space division by scalar //! subtraction from the diagonal
ScaledIdentityMatrix& operator-= (const K& k) ScaledIdentityMatrix& operator-= (const K& k)
{ {
p_ -= k; p_ -= k;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment