From 589d780d57b4ae3f44ac2b83b30a2fae9bedca19 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Sun, 22 Mar 2020 08:43:10 +0100 Subject: [PATCH] Fix compilation with Tpetra vector --- .../numerics/data_out_dof_data.templates.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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 1ce2ae5117..3a00984200 100644 --- a/include/deal.II/numerics/data_out_dof_data.templates.h +++ b/include/deal.II/numerics/data_out_dof_data.templates.h @@ -442,6 +442,22 @@ namespace internal +#if defined(DEAL_II_TRILINOS_WITH_TPETRA) && defined(DEAL_II_WITH_MPI) + 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()); + } +#endif + + + template DataEntryBase::DataEntryBase( const DoFHandlerType * dofs, -- 2.39.5