]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Avoid use of deprecated functions.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 15 Jan 2013 02:49:44 +0000 (02:49 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 15 Jan 2013 02:49:44 +0000 (02:49 +0000)
git-svn-id: https://svn.dealii.org/trunk@28055 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/lac/block_matrix_array.cc

index 3e1cb14ed04d1ad48b80849fe455e0f76c794409..e62f320d3538c07fdbca792223dd30c046abfd87 100644 (file)
@@ -1,7 +1,7 @@
 //---------------------------------------------------------------------------
 //    $Id$
 //
-//    Copyright (C) 2005, 2006, 2008, 2010, 2011, 2012 by the deal.II authors
+//    Copyright (C) 2005, 2006, 2008, 2010, 2011, 2012, 2013 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -277,18 +277,18 @@ BlockTrianglePrecondition<number>::BlockTrianglePrecondition()
 
 template <typename number>
 BlockTrianglePrecondition<number>::BlockTrianglePrecondition(
-  unsigned int block_rows,
-  VectorMemory<Vector<number> > &mem,
-  bool backward)
+  const unsigned int block_rows,
+  VectorMemory<Vector<number> > &,
+  const bool backward)
   :
-  BlockMatrixArray<number> (block_rows, block_rows, mem),
+  BlockMatrixArray<number> (block_rows, block_rows),
   backward(backward)
 {}
 
 
 template <typename number>
 BlockTrianglePrecondition<number>::BlockTrianglePrecondition(
-  unsigned int block_rows)
+  const unsigned int block_rows)
   :
   BlockMatrixArray<number> (block_rows, block_rows),
   backward(false)
@@ -298,11 +298,11 @@ BlockTrianglePrecondition<number>::BlockTrianglePrecondition(
 template <typename number>
 void
 BlockTrianglePrecondition<number>::initialize(
-  unsigned int n_block_rows,
-  VectorMemory<Vector<number> > &memory,
-  bool backward)
+  const unsigned int n_block_rows,
+  VectorMemory<Vector<number> > &,
+  const bool backward)
 {
-  BlockMatrixArray<number>::initialize(n_block_rows, n_block_rows, memory);
+  BlockMatrixArray<number>::initialize(n_block_rows, n_block_rows);
   this->backward = backward;
 }
 

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.