From: Martin Kronbichler Date: Sun, 22 Mar 2020 16:19:48 +0000 (+0100) Subject: Fix compilation with Tpetra vector, 2nd attempt X-Git-Tag: v9.2.0-rc1~384^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9296175b4015e08b85f012665dbeb6654a03dd4;p=dealii.git Fix compilation with Tpetra vector, 2nd attempt --- 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*/)