From: bangerth Date: Thu, 9 May 2013 00:01:22 +0000 (+0000) Subject: Remove all uses of a removed variable. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf974abaf4cc833885a50608209159b10d7ba496;p=dealii-svn.git Remove all uses of a removed variable. git-svn-id: https://svn.dealii.org/trunk@29484 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/lac/trilinos_sparse_matrix.cc b/deal.II/source/lac/trilinos_sparse_matrix.cc index 29030f6e47..f79572e343 100644 --- a/deal.II/source/lac/trilinos_sparse_matrix.cc +++ b/deal.II/source/lac/trilinos_sparse_matrix.cc @@ -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();