]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix get_shared_vector_data 11094/head
authorPeter Munch <peterrmuench@gmail.com>
Fri, 23 Oct 2020 20:05:11 +0000 (22:05 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Fri, 23 Oct 2020 20:18:28 +0000 (22:18 +0200)
include/deal.II/matrix_free/fe_evaluation.h
tests/matrix_free/face_setup_01.cc

index 9d65dc211fda4ddfb0d46dee0ada0bb6e4cadbf6..e3269ebe28ef9def9596584bcfca836b7bbe7889 100644 (file)
@@ -4859,7 +4859,7 @@ namespace internal
   const std::vector<ArrayView<const typename VectorType::value_type>> *
   get_shared_vector_data(VectorType &vec /*other parameters?*/)
   {
-    return vec.shared_vector_data();
+    return &vec.shared_vector_data();
   }
 
   template <typename VectorType,
index c64e269735621831b6b79d0308cf22e0d820152c..6040e9b08cf18cfb51667f0f21f2dd25d29de03b 100644 (file)
@@ -81,7 +81,7 @@ main(int argc, char **argv)
           << " n_ghosts="
           << matrix_free.get_dof_info().vector_partitioner->n_ghost_indices()
           << std::endl;
-  for (auto &p : matrix_free.get_dof_info().vector_partitioner_face_variants)
+  for (auto &p : matrix_free.get_dof_info().vector_exchanger_face_variants)
     deallog << "partitioner: size=" << p->size()
             << " local_size=" << p->local_size()
             << " n_ghosts=" << p->n_ghost_indices() << std::endl;

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.