]> https://gitweb.dealii.org/ - dealii.git/commitdiff
remove deprecated vector wrappers 929/head
authorLei Qiao <qiaol618@gmail.com>
Tue, 12 May 2015 18:27:09 +0000 (13:27 -0500)
committerLei Qiao <qiaol618@gmail.com>
Thu, 14 May 2015 13:17:05 +0000 (08:17 -0500)
include/deal.II/lac/generic_linear_algebra.h

index e33a5c23c41c61a2377ce71672aadaa1074212c8..bd02fe38e6d5c1d0f5b225fc5a58501f15591d57 100644 (file)
@@ -51,10 +51,7 @@ DEAL_II_NAMESPACE_CLOSE
 #ifdef DEAL_II_WITH_PETSC
 
 #include <deal.II/lac/block_sparsity_pattern.h>
-#include <deal.II/lac/petsc_vector.h>
-#include <deal.II/lac/petsc_block_vector.h>
 #include <deal.II/lac/petsc_parallel_sparse_matrix.h>
-#include <deal.II/lac/petsc_sparse_matrix.h>
 #include <deal.II/lac/petsc_parallel_block_sparse_matrix.h>
 #include <deal.II/lac/petsc_precondition.h>
 #include <deal.II/lac/petsc_solver.h>
@@ -71,11 +68,6 @@ namespace LinearAlgebraPETSc
 {
   using namespace dealii;
 
-  typedef PETScWrappers::Vector Vector;
-  typedef PETScWrappers::BlockVector BlockVector;
-
-  typedef PETScWrappers::SparseMatrix SparseMatrix;
-
   typedef PETScWrappers::SolverCG SolverCG;
   typedef PETScWrappers::SolverGMRES SolverGMRES;
 
@@ -144,8 +136,6 @@ DEAL_II_NAMESPACE_CLOSE
 
 #ifdef DEAL_II_WITH_TRILINOS
 
-#include <deal.II/lac/trilinos_vector.h>
-#include <deal.II/lac/trilinos_block_vector.h>
 #include <deal.II/lac/trilinos_block_sparse_matrix.h>
 #include <deal.II/lac/trilinos_sparse_matrix.h>
 #include <deal.II/lac/trilinos_precondition.h>
@@ -164,8 +154,6 @@ namespace LinearAlgebraTrilinos
 {
   using namespace dealii;
 
-  typedef TrilinosWrappers::Vector Vector;
-
   typedef TrilinosWrappers::SolverCG SolverCG;
   typedef TrilinosWrappers::SolverGMRES SolverGMRES;
 

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.