]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix compilation with Tpetra vector 9708/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Sun, 22 Mar 2020 07:43:10 +0000 (08:43 +0100)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Sun, 22 Mar 2020 07:43:10 +0000 (08:43 +0100)
include/deal.II/numerics/data_out_dof_data.templates.h

index 1ce2ae51176c100c3d66279527740cc63bf2061f..3a009842001e6c23d1a7644391af5f9334c073a5 100644 (file)
@@ -442,6 +442,22 @@ namespace internal
 
 
 
+#if defined(DEAL_II_TRILINOS_WITH_TPETRA) && defined(DEAL_II_WITH_MPI)
+    template <typename Number>
+    inline void
+    VectorHelper<LinearAlgebra::TpetraWrappers::Vector<Number>>::extract(
+      const LinearAlgebra::TpetraWrappers::Vector<Number> & /*vector*/,
+      const std::vector<types::global_dof_index> & /*indices*/,
+      const ComponentExtractor /*extract_component*/,
+      std::vector<double> & /*values*/)
+    {
+      // TODO: we don't have element access
+      Assert(false, ExcNotImplemented());
+    }
+#endif
+
+
+
     template <typename DoFHandlerType>
     DataEntryBase<DoFHandlerType>::DataEntryBase(
       const DoFHandlerType *          dofs,

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.