]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove all uses of a removed variable.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 9 May 2013 00:01:22 +0000 (00:01 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 9 May 2013 00:01:22 +0000 (00:01 +0000)
git-svn-id: https://svn.dealii.org/trunk@29484 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/lac/trilinos_sparse_matrix.cc

index 29030f6e47a829181a452c3b99585eb601d964d8..f79572e34360e4b780125f8ac0dcf17b98250b20 100644 (file)
@@ -325,7 +325,6 @@ namespace TrilinosWrappers
 
         // release memory before reallocation
         matrix.reset ();
-        temp_vector.clear ();
         matrix.reset (new Epetra_FECrsMatrix(*m.matrix));
       }
 
@@ -398,7 +397,6 @@ namespace TrilinosWrappers
                         const bool           exchange_data)
   {
     // release memory before reallocation
-    temp_vector.clear();
     matrix.reset();
 
     // if we want to exchange data, build a usual Trilinos sparsity pattern
@@ -496,7 +494,6 @@ namespace TrilinosWrappers
   void
   SparseMatrix::reinit (const SparsityPattern &sparsity_pattern)
   {
-    temp_vector.clear ();
     matrix.reset ();
 
     // reinit with a (parallel) Trilinos
@@ -514,7 +511,6 @@ namespace TrilinosWrappers
   SparseMatrix::reinit (const SparseMatrix &sparse_matrix)
   {
     column_space_map.reset (new Epetra_Map (sparse_matrix.domain_partitioner()));
-    temp_vector.clear ();
     matrix.reset ();
     matrix.reset (new Epetra_FECrsMatrix
                   (Copy, sparse_matrix.trilinos_sparsity_pattern(), false));
@@ -672,7 +668,6 @@ namespace TrilinosWrappers
 
     const Epetra_CrsGraph *graph = &input_matrix.Graph();
 
-    temp_vector.clear ();
     matrix.reset ();
     matrix.reset (new Epetra_FECrsMatrix(Copy, *graph, false));
 
@@ -702,7 +697,6 @@ namespace TrilinosWrappers
     // empty matrix.
     column_space_map.reset (new Epetra_Map (0, 0,
                                             Utilities::Trilinos::comm_self()));
-    temp_vector.clear();
     matrix.reset (new Epetra_FECrsMatrix(View, *column_space_map, 0));
 
     matrix->FillComplete();

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.