]> https://gitweb.dealii.org/ - dealii.git/commitdiff
do not use Trilinos inside petsc_compelx tests
authorDenis Davydov <davydden@gmail.com>
Fri, 11 Mar 2016 09:49:30 +0000 (10:49 +0100)
committerDenis Davydov <davydden@gmail.com>
Sat, 12 Mar 2016 18:55:08 +0000 (19:55 +0100)
tests/petsc_complex/fe_get_function_values.cc

index f7b01896abdf86650ff3a84faf4656afdf20c0a1..f0ba8f0d8aec844d01b4dfc84146ebcf74f5b762 100644 (file)
@@ -43,7 +43,7 @@
 #include <deal.II/lac/petsc_parallel_vector.h>
 #include <deal.II/lac/petsc_parallel_sparse_matrix.h>
 
-#include <deal.II/lac/trilinos_vector.h>
+#include <deal.II/lac/parallel_vector.h>
 
 #include <deal.II/distributed/tria.h>
 #include <deal.II/distributed/grid_refinement.h>
@@ -84,8 +84,8 @@ void test ()
   DoFTools::extract_locally_relevant_dofs (dof_handler,locally_relevant_dofs);
 
   PETScWrappers::MPI::Vector vector, vector_locally_relevant;
-  TrilinosWrappers::MPI::Vector vector_Re, vector_Re_locally_relevant,
-                   vector_Im, vector_Im_locally_relevant;
+  parallel::distributed::Vector< double > vector_Re, vector_Re_locally_relevant,
+           vector_Im, vector_Im_locally_relevant;
   vector.reinit(locally_owned_dofs, mpi_communicator);
   vector_locally_relevant.reinit (locally_owned_dofs,
                                   locally_relevant_dofs,mpi_communicator);

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.