From f9296175b4015e08b85f012665dbeb6654a03dd4 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Sun, 22 Mar 2020 17:19:48 +0100 Subject: [PATCH] Fix compilation with Tpetra vector, 2nd attempt --- .../numerics/data_out_dof_data.templates.h | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/include/deal.II/numerics/data_out_dof_data.templates.h b/include/deal.II/numerics/data_out_dof_data.templates.h index 3a00984200..af7fbe654f 100644 --- a/include/deal.II/numerics/data_out_dof_data.templates.h +++ b/include/deal.II/numerics/data_out_dof_data.templates.h @@ -443,10 +443,22 @@ namespace internal #if defined(DEAL_II_TRILINOS_WITH_TPETRA) && defined(DEAL_II_WITH_MPI) - template + template <> + inline void + VectorHelper>::extract( + const LinearAlgebra::TpetraWrappers::Vector & /*vector*/, + const std::vector & /*indices*/, + const ComponentExtractor /*extract_component*/, + std::vector & /*values*/) + { + // TODO: we don't have element access + Assert(false, ExcNotImplemented()); + } + + template <> inline void - VectorHelper>::extract( - const LinearAlgebra::TpetraWrappers::Vector & /*vector*/, + VectorHelper>::extract( + const LinearAlgebra::TpetraWrappers::Vector & /*vector*/, const std::vector & /*indices*/, const ComponentExtractor /*extract_component*/, std::vector & /*values*/) -- 2.39.5